diff options
| author | Junio C Hamano <gitster@pobox.com> | 2009-06-20 21:46:10 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-06-20 21:46:10 -0700 |
| commit | 7c74c3926ad60ba1bbfed13355f00a29813a0f32 (patch) | |
| tree | 45d5169b6377988e617a9d1a2096b98f31d07a49 /builtin-pack-objects.c | |
| parent | Merge git://git.kernel.org/pub/scm/gitk/gitk (diff) | |
| parent | Fix big left-shifts of unsigned char (diff) | |
| download | git-7c74c3926ad60ba1bbfed13355f00a29813a0f32.tar.gz git-7c74c3926ad60ba1bbfed13355f00a29813a0f32.zip | |
Merge branch 'lt/maint-unsigned-left-shift'
* lt/maint-unsigned-left-shift:
Fix big left-shifts of unsigned char
Diffstat (limited to 'builtin-pack-objects.c')
| -rw-r--r-- | builtin-pack-objects.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index 9742b45c4d..941cc2d73c 100644 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@ -653,8 +653,7 @@ static void rehash_objects(void) static unsigned name_hash(const char *name) { - unsigned char c; - unsigned hash = 0; + unsigned c, hash = 0; if (!name) return 0; |
