}
#ifdef HEXDUMP
- fprintf(stderr, "Received %ld bytes from %s\n", count,
+ fprintf(stderr, "Received %d bytes from %s\n", count,
inet_ntoa(sin->sin_addr));
xd(stderr, buffer, count, FALSE);
#endif
pktsize = ntohs(rpktsize);
if (pktsize != count) {
#ifdef DEBUG
- fprintf(stderr, "** Bad packet length: pktsize = %d, count = %ld.\n",
+ fprintf(stderr, "** Bad packet length: pktsize = %d, count = %d.\n",
pktsize, count);
#endif
return ERR_PKT_BADLEN;