Used unsigned version.

Submitted by:	jmallett
This commit is contained in:
obrien 2005-03-12 06:06:04 +00:00
parent 1f273a8d02
commit 6fe43669c4

View File

@ -1226,7 +1226,7 @@ mbnambuf_write(char *name, int id)
count = strlen(name);
nambuf_len = id * WIN_CHARS + count;
if (nambuf_len > MAXNAMLEN) {
printf("msdosfs: file name %zd too long\n", nambuf_len);
printf("msdosfs: file name %zu too long\n", nambuf_len);
return;
}
nambuf_max_id = id;