libsa: dos_checksum() should take unsigned chars
Fix pointers to integers with different sign issue.
This commit is contained in:
parent
fd3f1b1966
commit
c49aa2b6ca
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user