summaryrefslogtreecommitdiff
path: root/epan/tvbtest.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-12-21 21:49:10 +0000
committerBill Meier <wmeier@newsguy.com>2011-12-21 21:49:10 +0000
commita15064f02fed8768f356bf283cf13510bea07855 (patch)
treec6d1f65ee8bf8c263642b2af5daadd960ed1d60f /epan/tvbtest.c
parent522950401f468bfb8a7b4079540c78d0f3c06452 (diff)
downloadwireshark-a15064f02fed8768f356bf283cf13510bea07855.tar.gz
Fix a Windows compile error.
svn path=/trunk/; revision=40268
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r--epan/tvbtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/tvbtest.c b/epan/tvbtest.c
index 77a976ca66..fcc2581a49 100644
--- a/epan/tvbtest.c
+++ b/epan/tvbtest.c
@@ -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();