git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysrq documentation: document why the command header only is shown
[safe/jmp/linux-2.6]
/
Documentation
/
pcmcia
/
crc32hash.c
diff --git
a/Documentation/pcmcia/crc32hash.c
b/Documentation/pcmcia/crc32hash.c
index
cbc36d2
..
4210e5a
100644
(file)
--- a/
Documentation/pcmcia/crc32hash.c
+++ b/
Documentation/pcmcia/crc32hash.c
@@
-26,7
+26,7
@@
int main(int argc, char **argv) {
printf("no string passed as argument\n");
return -1;
}
- result = crc32(argv[1], strlen(argv[1]));
+ result = crc32(
(unsigned char const *)
argv[1], strlen(argv[1]));
printf("0x%x\n", result);
return 0;
}