svn commit: r337412 - head/stand/libsa

Toomas Soome tsoome at FreeBSD.org
Tue Aug 7 10:48:37 UTC 2018


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];


More information about the svn-src-all mailing list