tests: fix libnm-util testcase on 32-bit platforms
authorDan Williams <dcbw@redhat.com>
Sun, 3 Jun 2012 20:48:35 +0000 (15:48 -0500)
committerDan Williams <dcbw@redhat.com>
Sun, 3 Jun 2012 20:48:35 +0000 (15:48 -0500)
On 32-bit, gulong is 32-bits, so we need to use guint64 here,
which we should have been using anyway.

libnm-util/tests/test-general.c

index 1eed888..2acb31b 100644 (file)
@@ -783,7 +783,7 @@ new_test_connection (void)
        NMConnection *connection;
        NMSetting *setting;
        char *uuid;
-       gulong timestamp = time (NULL);
+       guint64 timestamp = time (NULL);
 
        connection = nm_connection_new ();