make tests not dynamic link against /lib/libglib
[platform/upstream/glib.git] / tests / type-test.c
index f8405ed..cbaaa7d 100644 (file)
@@ -41,7 +41,7 @@ main (int   argc,
   gushort gus;
   guint gui;
   gulong gul;
-  gssize gsz;
+  gsize gsz;
   gshort gs;
   gint gi;
   glong gl;
@@ -86,6 +86,7 @@ main (int   argc,
 
   gsz = G_MAXSIZE;
   gsz++;
+  
   g_assert (gsz == 0);
 
   gs = G_MAXSHORT;
@@ -132,7 +133,7 @@ main (int   argc,
 
 #define FORMATSIZE "%" G_GSSIZE_FORMAT " %" G_GSIZE_FORMAT "\n"
   string = g_strdup_printf (FORMATSIZE, gsst1, gst1);
-  sscanf (string, FORMAT64, &gsst2, &gst2);
+  sscanf (string, FORMATSIZE, &gsst2, &gst2);
   g_free (string);
   g_assert (gsst1 == gsst2);
   g_assert (gst1 == gst2);