*/
int main(int ac, char **av)
{
- register unsigned char *sp;
+ register char *sp;
register FILE *inf, *outf;
register int32_t last_off, length, pos, *p;
register int first, cnt;
puts("There was 1 string");
else
printf("There were %ld strings\n", Num_pts - 1);
- printf("Longest string: %lu byte%s\n", Tbl.str_longlen,
+ printf("Longest string: %lu byte%s\n", (unsigned long)(Tbl.str_longlen),
Tbl.str_longlen == 1 ? "" : "s");
- printf("Shortest string: %lu byte%s\n", Tbl.str_shortlen,
+ printf("Shortest string: %lu byte%s\n", (unsigned long)(Tbl.str_shortlen),
Tbl.str_shortlen == 1 ? "" : "s");
}
}