diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-11-23 22:33:28 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-11-24 00:23:15 +0200 |
| commit | 824f4acde208670490eab77b24cb58a0216ba1df (patch) | |
| tree | a2f62459def4d9ec07af7e295a972c8afa5d3183 /src/odb.c | |
| parent | f8b422b6d43bb4b12d3e614b024fbe8415971f4e (diff) | |
| download | libgit2-824f4acde208670490eab77b24cb58a0216ba1df.tar.gz | |
Fix redeclaration warnings in MSVC
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/odb.c')
| -rw-r--r-- | src/odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1435,7 +1435,7 @@ static int unpack_object(git_rawobj *out, git_pack *p, index_entry *e) deflated_size = (size_t)e->size; if (deflated_size == 0) - deflated_size = p->pack_size - e->offset; + deflated_size = (size_t)(p->pack_size - e->offset); byte = *buffer++ & 0xFF; deflated_size--; |
