libsa: dos_checksum() should take unsigned chars

Fix pointers to integers with different sign issue.
This commit is contained in:
Toomas Soome 2018-08-07 10:48:36 +00:00
parent 0b4d5eb8fd
commit 513f7db592

View File

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