diff -rup linux-2.4.7-ac1/fs/reiserfs/hashes.c linux-2.4.7-ac1.patched/fs/reiserfs/hashes.c
--- linux-2.4.7-ac1/fs/reiserfs/hashes.c Fri Jul 27 22:16:49 2001
+++ linux-2.4.7-ac1.patched/fs/reiserfs/hashes.c Fri Jul 27 23:11:59 2001
@@ -48,7 +48,7 @@
} while(0)
-u32 keyed_hash(const char *msg, int len)
+u32 keyed_hash(const signed char *msg, int len)
{
u32 k[] = { 0x9464a485, 0x542e1a94, 0x3e846bff, 0xb75bcfc3};
@@ -174,7 +174,7 @@ u32 keyed_hash(const char *msg, int len)
/* What follows in this file is copyright 2000 by Hans Reiser, and the
* licensing of what follows is governed by reiserfs/README */
-u32 yura_hash (const char *msg, int len)
+u32 yura_hash (const signed char *msg, int len)
{
int j, pow;
u32 a, c;
@@ -209,7 +209,7 @@ u32 yura_hash (const char *msg, int len)
return a;
}
-u32 r5_hash (const char *msg, int len)
+u32 r5_hash (const signed char *msg, int len)
{
u32 a=0;
while(*msg) {
diff -rup linux-2.4.7-ac1/include/linux/reiserfs_fs.h linux-2.4.7-ac1.patched/include/linux/reiserfs_fs.h
--- linux-2.4.7-ac1/include/linux/reiserfs_fs.h Fri Jul 27 22:47:05 2001
+++ linux-2.4.7-ac1.patched/include/linux/reiserfs_fs.h Fri Jul 27 23:11:59 2001
@@ -1878,9 +1878,9 @@ void reiserfs_discard_all_prealloc (stru
#endif
/* hashes.c */
-__u32 keyed_hash (const char *msg, int len);
-__u32 yura_hash (const char *msg, int len);
-__u32 r5_hash (const char *msg, int len);
+__u32 keyed_hash (const signed char *msg, int len);
+__u32 yura_hash (const signed char *msg, int len);
+__u32 r5_hash (const signed char *msg, int len);
/* version.c */
const char *reiserfs_get_version_string(void) CONSTF;
diff -rup linux-2.4.7-ac1/include/linux/reiserfs_fs_sb.h linux-2.4.7-ac1.patched/include/linux/reiserfs_fs_sb.h
--- linux-2.4.7-ac1/include/linux/reiserfs_fs_sb.h Fri Jul 27 22:10:35 2001
+++ linux-2.4.7-ac1.patched/include/linux/reiserfs_fs_sb.h Fri Jul 27 23:11:59 2001
@@ -262,7 +262,7 @@ struct reiserfs_journal {
#define JOURNAL_DESC_MAGIC "ReIsErLB" /* ick. magic string to find desc blocks in the journal */
-typedef __u32 (*hashf_t) (const char *, int);
+typedef __u32 (*hashf_t) (const signed char *, int);
/* reiserfs union of in-core super block data */
struct reiserfs_sb_info