mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Use %zu to print size_t.
This commit is contained in:
parent
5c8cdc0e2a
commit
9739527ffb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100036
@ -730,7 +730,7 @@ ArchSVR4Entry(ar, name, size, arch)
|
||||
break;
|
||||
}
|
||||
if (DEBUG(ARCH)) {
|
||||
printf("Found svr4 archive name table with %d entries\n", entry);
|
||||
printf("Found svr4 archive name table with %zu entries\n", entry);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@ -747,7 +747,7 @@ ArchSVR4Entry(ar, name, size, arch)
|
||||
}
|
||||
if (entry >= ar->fnamesize) {
|
||||
if (DEBUG(ARCH)) {
|
||||
printf("SVR4 entry offset %s is greater than %d\n",
|
||||
printf("SVR4 entry offset %s is greater than %zu\n",
|
||||
name, ar->fnamesize);
|
||||
}
|
||||
return 2;
|
||||
|
Loading…
Reference in New Issue
Block a user