mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Fix broken test for gsize formats.
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org> * tests/type-test.c: Fix broken test for gsize formats.
This commit is contained in:
committed by
Manish Singh
parent
1c778a6235
commit
705ba7c15a
@@ -132,7 +132,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);
|
||||
|
Reference in New Issue
Block a user