Use %z to print a size_t value.

This commit is contained in:
jhb 2002-11-08 14:58:35 +00:00
parent d39f72b79f
commit d102d4721a
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}