Use %z to print a size_t value.

This commit is contained in:
John Baldwin 2002-11-08 14:58:35 +00:00
parent 70d0dcad85
commit f47789c828
2 changed files with 2 additions and 2 deletions
sys

@ -796,7 +796,7 @@ ti_bcopy_swap(src, dst, len, swap_type)
size_t tmplen;
if (len & 0x3) {
printf("ti_bcopy_swap: length %d isn't 32-bit aligned\n",
printf("ti_bcopy_swap: length %zd isn't 32-bit aligned\n",
len);
return(-1);
}

@ -796,7 +796,7 @@ ti_bcopy_swap(src, dst, len, swap_type)
size_t tmplen;
if (len & 0x3) {
printf("ti_bcopy_swap: length %d isn't 32-bit aligned\n",
printf("ti_bcopy_swap: length %zd isn't 32-bit aligned\n",
len);
return(-1);
}