libsa: dos_checksum() should take unsigned chars
Fix pointers to integers with different sign issue.
This commit is contained in:
parent
0b4d5eb8fd
commit
513f7db592
@ -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