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 /attr.c | |
parent | d4f6bc887de7957645b998a0b0e22bc4048f36dd (diff) | |
parent | 48fb7deb5bbd87933e7d314b73d7c1b52667f80f (diff) | |
download | git-7c74c3926ad60ba1bbfed13355f00a29813a0f32.tar.gz git-7c74c3926ad60ba1bbfed13355f00a29813a0f32.tar.xz |
Merge branch 'lt/maint-unsigned-left-shift'
* lt/maint-unsigned-left-shift:
Fix big left-shifts of unsigned char
Diffstat (limited to 'attr.c')
-rw-r--r-- | attr.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -35,8 +35,7 @@ static struct git_attr *(git_attr_hash[HASHSIZE]); static unsigned hash_name(const char *name, int namelen) { - unsigned val = 0; - unsigned char c; + unsigned val = 0, c; while (namelen--) { c = *name++; |