More warining fixes: char -> const char
[obnox/wireshark/wip.git] / dftest.c
index 6c24fb5d1669303764a59db5d6c0f4109a67665f..b567685ce60e3b52355642d077444f19ff67693f 100644 (file)
--- a/dftest.c
+++ b/dftest.c
@@ -43,7 +43,7 @@
 #include <epan/timestamp.h>
 #include <epan/plugins.h>
 #include <epan/filesystem.h>
-#include "prefs.h"
+#include <epan/prefs.h>
 #include "util.h"
 #include "epan/dfilter/dfilter.h"
 #include "register.h"
@@ -131,7 +131,7 @@ main(int argc, char **argv)
                epan_cleanup();
                exit(2);
        }
-       printf("dfilter ptr = 0x%08x\n", (unsigned int) df);
+       printf("dfilter ptr = 0x%08x\n", GPOINTER_TO_INT(df));
 
        printf("\n\n");