Author: tsoome
Date: Tue Aug  7 10:48:36 2018
New Revision: 337412
URL: https://svnweb.freebsd.org/changeset/base/337412

Log:
  libsa: dos_checksum() should take unsigned chars
  
  Fix pointers to integers with different sign issue.

Modified:
  head/stand/libsa/dosfs.c

Modified: head/stand/libsa/dosfs.c
==============================================================================
--- head/stand/libsa/dosfs.c    Tue Aug  7 08:33:40 2018        (r337411)
+++ head/stand/libsa/dosfs.c    Tue Aug  7 10:48:36 2018        (r337412)
@@ -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];
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to