Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2018 10:48:36 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337412 - head/stand/libsa
Message-ID:  <201808071048.w77Amajw044467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808071048.w77Amajw044467>