diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-18 08:10:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-18 08:10:58 +0000 |
commit | edbebab8a0ec393c3132edc78399c9951e123fdf (patch) | |
tree | 72d82416357af6fd3f73c82bd6737f9733f885f1 /src/transport/plugin_transport_wlan.c | |
parent | 3de6394167dfa4ac9a63edd6855f1fecc361bf38 (diff) | |
download | gnunet-edbebab8a0ec393c3132edc78399c9951e123fdf.tar.gz gnunet-edbebab8a0ec393c3132edc78399c9951e123fdf.zip |
-switch on int for cparser
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index ab0309ced..b73d444eb 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1745,7 +1745,8 @@ libgnunet_plugin_transport_wlan_init (void *cls) | |||
1745 | plugin->helper_payload_tokenizer = GNUNET_SERVER_mst_create (&process_data, plugin); | 1745 | plugin->helper_payload_tokenizer = GNUNET_SERVER_mst_create (&process_data, plugin); |
1746 | plugin->beacon_task = GNUNET_SCHEDULER_add_now (&send_hello_beacon, | 1746 | plugin->beacon_task = GNUNET_SCHEDULER_add_now (&send_hello_beacon, |
1747 | plugin); | 1747 | plugin); |
1748 | switch (testmode) | 1748 | /* some compilers do not like switch on 'long long'... */ |
1749 | switch ((unsigned int) testmode) | ||
1749 | { | 1750 | { |
1750 | case 0: /* normal */ | 1751 | case 0: /* normal */ |
1751 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan"; | 1752 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan"; |