mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
libsa: dos_checksum() should take unsigned chars
Fix pointers to integers with different sign issue.
This commit is contained in:
parent
0b4d5eb8fd
commit
513f7db592
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337412
|
@ -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 a new issue