if(!config->isatty || ((output != stderr) && (output != stdout))) {
if(!newl)
fprintf(output, "%s%s ", timebuf, s_infotype[type]);
- fprintf(output, "[%zd bytes data]\n", size);
+ fprintf(output, "[%zu bytes data]\n", size);
newl = FALSE;
traced_data = TRUE;
}
/* without the hex output, we can fit more on screen */
width = 0x40;
- fprintf(stream, "%s%s, %zd bytes (0x%zx)\n", timebuf, text, size, size);
+ fprintf(stream, "%s%s, %zu bytes (0x%zx)\n", timebuf, text, size, size);
for(i = 0; i < size; i += width) {
}
break;
case UPTNumRange:
- snprintf(buf, buflen, "%0*ld",
+ snprintf(buf, buflen, "%0*lu",
pat->content.NumRange.padlength,
pat->content.NumRange.ptr_n);
len = strlen(buf);