diff options
author | Brian Gerst <bgerst@didntduck.org> | 2005-05-18 14:14:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-18 17:44:23 +0200 |
commit | bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc (patch) | |
tree | 6da6a42bd7b97ea6ebd79544f4fb16713ac74dc3 /strbuf.h | |
parent | Add silly "git-whatchanged" script. (diff) | |
download | git-bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc.tar.xz git-bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc.zip |
[PATCH] Kill a bunch of pointer sign warnings for gcc4
- Raw hashes should be unsigned char.
- String functions want signed char.
- Hash and compress functions want unsigned char.
Signed-off By: Brian Gerst <bgerst@didntduck.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ struct strbuf { int alloc; int len; int eof; - unsigned char *buf; + char *buf; }; extern void strbuf_init(struct strbuf *); |