both recent fixes of warnings don't compile on Win32, inttypes.h is not available...
authorUlf Lamping <ulf.lamping@web.de>
Sat, 18 Nov 2006 03:37:34 +0000 (03:37 -0000)
committerUlf Lamping <ulf.lamping@web.de>
Sat, 18 Nov 2006 03:37:34 +0000 (03:37 -0000)
As discussed in a seperate thread the PRId64 should not be required.

svn path=/trunk/; revision=19925

wiretap/catapult_dct2000.c

index 5f4d653657e39a8971902b92baf70f30cbb3a4a4..95847bad35cfd824fcea04a8bbf02ed3b28cee2a 100644 (file)
@@ -27,7 +27,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
-#include <inttypes.h>
+/*#include <inttypes.h>*/
 
 #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;
 }