From: Ulf Lamping Date: Sat, 18 Nov 2006 03:37:34 +0000 (-0000) Subject: both recent fixes of warnings don't compile on Win32, inttypes.h is not available... X-Git-Url: http://git.samba.org/?p=metze%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=a339636b851194afa838b126ac2aba07a7851a3c both recent fixes of warnings don't compile on Win32, inttypes.h is not available and PRId64 is not defined in the config.h.win32. As discussed in a seperate thread the PRId64 should not be required. svn path=/trunk/; revision=19925 --- diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c index 5f4d653657..95847bad35 100644 --- a/wiretap/catapult_dct2000.c +++ b/wiretap/catapult_dct2000.c @@ -27,7 +27,7 @@ #include #include #include -#include +/*#include */ #include "wtap-int.h" #include "file_wrappers.h" @@ -493,7 +493,7 @@ catapult_dct2000_seek_read(wtap *wth, gint64 seek_off, /* If get here, must have failed */ *err = errno; *err_info = g_strdup_printf("catapult dct2000: seek_read failed to read/parse " - "line at position %" PRId64, seek_off); + "line at position %lld", seek_off); return FALSE; }