From 513f7db592e75f14f369a5110d619d6bf9f9c8db Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Tue, 7 Aug 2018 10:48:36 +0000 Subject: [PATCH] libsa: dos_checksum() should take unsigned chars Fix pointers to integers with different sign issue. --- stand/libsa/dosfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/libsa/dosfs.c b/stand/libsa/dosfs.c index 68762842eaee..2d6029be837e 100644 --- a/stand/libsa/dosfs.c +++ b/stand/libsa/dosfs.c @@ -403,7 +403,7 @@ dos_stat(struct open_file *fd, struct stat *sb) } static int -dos_checksum(char *name, char *ext) +dos_checksum(unsigned char *name, unsigned char *ext) { int x, i; char buf[11];