case size_t to unsigned long for LP64 platforms

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13678 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-04-02 21:09:46 +00:00
parent 84dd284f6a
commit 0f7b18e449

View File

@@ -721,8 +721,8 @@ handle_tcp(struct descr *d, int index, int min_free)
krb5_warn(context, errno, "recvfrom"); krb5_warn(context, errno, "recvfrom");
return; return;
} else if (n == 0) { } else if (n == 0) {
krb5_warnx(context, "connection closed before end of data after %d " krb5_warnx(context, "connection closed before end of data after %lu "
"bytes from %s to %s/%d", d[index].len, "bytes from %s to %s/%d", (unsigned long)d[index].len,
d[index].addr_string, descr_type(d + index), d[index].addr_string, descr_type(d + index),
ntohs(d[index].port)); ntohs(d[index].port));
clear_descr (d + index); clear_descr (d + index);