libsa: dos_checksum() should take unsigned chars

Fix pointers to integers with different sign issue.
This commit is contained in:
tsoome 2018-08-07 10:48:36 +00:00
parent fd3f1b1966
commit c49aa2b6ca

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