Use properly sized variable to store handle in the test.
authorStefan Walter <stefw@src.gnome.org>
Sat, 7 Feb 2009 18:04:09 +0000 (18:04 +0000)
committerStefan Walter <stefw@src.gnome.org>
Sat, 7 Feb 2009 18:04:09 +0000 (18:04 +0000)
svn path=/trunk/; revision=1507

gp11/tests/unit-test-gp11-session.c

index a7f4c1e..28db77c 100644 (file)
@@ -43,7 +43,7 @@ DEFINE_TEST(session_props)
 {
        GP11Module *mod;
        GP11Slot *sl;
-       guint handle;
+       gulong handle;
 
        g_object_get (session, "module", &mod, "handle", &handle, "slot", &sl, NULL);
        g_assert (mod == module);