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:
Manish Singh 2004-02-07 23:03:35 +00:00 committed by Manish Singh
parent 1c778a6235
commit 705ba7c15a
7 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
2004-02-05 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.

View File

@ -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);