Commit 36adc08b authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

tests/patterntest.c (test_compilation) A couple of 64-bit printf format

Tue Jun 11 17:03:39 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/patterntest.c (test_compilation)
        * glib/gmem.c (profiler_try_realloc): A couple
        of 64-bit printf format fix from George Lebl.

        * glib/gconvert.c (open_converter): Fix gsize/gint
        mixup for g_iconv() arguments.
parent f9ec83b2
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
2002-06-03 Matthias Clasen <maclas@gmx.de>
* glib/gwin32.c (g_win32_get_package_installation_directory):
......
......@@ -358,9 +358,9 @@ open_converter (const gchar *to_codeset,
* NULL for anything but inbuf; work around that. (NULL outbuf
* or NULL *outbuf is allowed by Unix98.)
*/
gint inbytes_left = 0;
gsize inbytes_left = 0;
gchar *outbuf = NULL;
gint outbytes_left = 0;
gsize outbytes_left = 0;
cd = bucket->cd;
bucket->used = TRUE;
......
......@@ -541,7 +541,7 @@ profiler_try_realloc (gpointer mem,
if (mem && p[0]) /* free count */
{
g_warning ("realloc(%p, %u): memory has been freed %lu times already", p + 2, n_bytes, p[0]);
g_warning ("realloc(%p, %lu): memory has been freed %lu times already", p + 2, (gulong)n_bytes, p[0]);
profiler_log (PROFILER_ALLOC | PROFILER_RELOC, n_bytes, FALSE);
return NULL;
......
......@@ -105,7 +105,7 @@ test_compilation (gchar *src,
{
g_print ("failed \t(pattern_length: %d, expected %d)\n",
spec->pattern_length,
strlen (spec->pattern));
(gint)strlen (spec->pattern));
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment