Fix a Windows compile error.
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Dec 2011 21:49:10 +0000 (21:49 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Dec 2011 21:49:10 +0000 (21:49 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40268 f5534014-38df-0310-8fa8-9805f1628bb7

epan/tvbtest.c

index 77a976ca66104e16f3afc17f01364a26ef1e70b4..fcc2581a499754600b319c9a8ca8fb082547ee15 100644 (file)
@@ -441,8 +441,8 @@ int
 main(void)
 {
        /* For valgrind: See GLib documentation: "Running GLib Applications" */
-       setenv("G_DEBUG", "gc-friendly", 1);
-       setenv("G_SLICE", "always-malloc", 1);
+       g_setenv("G_DEBUG", "gc-friendly", 1);
+       g_setenv("G_SLICE", "always-malloc", 1);
 
        except_init();
        run_tests();