diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-09-04 12:49:54 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-09-04 12:49:54 +0200 |
commit | f71f9d5fcf5726f9be5ac0c97e7dbc26c3e57ecc (patch) | |
tree | 0788745a2848dda43620cf8e804cd6713a0bfb24 | |
parent | 874f455d6d47c5a34ed9861a6710f4b78202e0d6 (diff) | |
download | NetworkManager-f71f9d5fcf5726f9be5ac0c97e7dbc26c3e57ecc.tar.gz |
tests: fix 32-bit build
Fixes: 874f455d6d47c5a34ed9861a6710f4b78202e0d6
-rw-r--r-- | src/devices/wifi/tests/test-wifi-ap-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/wifi/tests/test-wifi-ap-utils.c b/src/devices/wifi/tests/test-wifi-ap-utils.c index 5552ca42fe..b5642fe2c1 100644 --- a/src/devices/wifi/tests/test-wifi-ap-utils.c +++ b/src/devices/wifi/tests/test-wifi-ap-utils.c @@ -1441,7 +1441,7 @@ main (int argc, char **argv) test_ap_wpa_eap_connection_5); #define ADD_FUNC(func) do { \ - gchar *name_idx = g_strdup_printf ("/wifi/wpa_psk/" G_STRINGIFY (func) "/%ld", i); \ + gchar *name_idx = g_strdup_printf ("/wifi/wpa_psk/" G_STRINGIFY (func) "/%zd", i); \ g_test_add_data_func (name_idx, (gconstpointer) i, func); \ g_free (name_idx); \ } while (0) @@ -1466,7 +1466,7 @@ main (int argc, char **argv) #undef ADD_FUNC #define ADD_FUNC(func) do { \ - gchar *name_idx = g_strdup_printf ("/wifi/rsn_psk/" G_STRINGIFY (func) "/%ld", i); \ + gchar *name_idx = g_strdup_printf ("/wifi/rsn_psk/" G_STRINGIFY (func) "/%zd", i); \ g_test_add_data_func (name_idx, (gconstpointer) i, func); \ g_free (name_idx); \ } while (0) |