diff options
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r-- | resolv/res_debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c index 4cbed577f8..62cd81cd0f 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -689,8 +689,9 @@ __p_rr(cp, msg, file) putc('\n', file); #endif if (cp - cp1 != dlen) { - fprintf(file, ";; packet size error (found %d, dlen was %d)\n", - cp - cp1, dlen); + fprintf(file, + ";; packet size error (found %lu, dlen was %d)\n", + (unsigned long) (cp - cp1), dlen); cp = NULL; } return (cp); |