summaryrefslogtreecommitdiffstats
path: root/src/hash.c
diff options
context:
space:
mode:
authorpancake <pancake@dazo>2007-11-20 04:14:13 +0100
committerpancake <pancake@dazo>2007-11-20 04:14:13 +0100
commit4115aab13d70bbe8300562bcd789cc5bc27c8ded (patch)
tree8bd7531d26dd35a45d5a52a5574bc1693261c168 /src/hash.c
parentfbdac811fc7694ca936607590cb19fd930528f5e (diff)
download0xFFFF-4115aab13d70bbe8300562bcd789cc5bc27c8ded.tar.bz2
- Import patches from Osvaldo Santana * Fix build on gcc 4 * Fix nanddump call definition (ignore oob added) * Fixed some stupid bugs with -pedantic -std=c990.3.1
release 0.3.1
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 066eacc..77b4159 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -27,7 +27,7 @@ usho do_hash(usho *b, int len)
return result;
}
-usho do_hash_file(char *filename)
+usho do_hash_file(const char *filename)
{
unsigned char buf[BSIZE];
FILE *fd = fopen(filename, "r");