Commit 0b6eeb2e authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Some warning fixes for the Sun compiler (Reported by David L. Cooper II,

Sat Mar 13 23:10:35 2004  Owen Taylor  <otaylor@redhat.com>

        Some warning fixes for the Sun compiler (Reported by
        David L. Cooper II, #136401)

        * glib/giochannel.c (g_io_channel_read): Return
        G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
        function returns a GIOError.

        * glib/guniprop.c: Fix some guchar/gchar confusion
        with special_case_table.
parent d8ba1394
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
Some warning fixes for the Sun compiler (Reported by
David L. Cooper II, #136401)
* glib/giochannel.c (g_io_channel_read): Return
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
function returns a GIOError.
* glib/guniprop.c: Fix some guchar/gchar confusion
with special_case_table.
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
......
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
Some warning fixes for the Sun compiler (Reported by
David L. Cooper II, #136401)
* glib/giochannel.c (g_io_channel_read): Return
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
function returns a GIOError.
* glib/guniprop.c: Fix some guchar/gchar confusion
with special_case_table.
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
......
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
Some warning fixes for the Sun compiler (Reported by
David L. Cooper II, #136401)
* glib/giochannel.c (g_io_channel_read): Return
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
function returns a GIOError.
* glib/guniprop.c: Fix some guchar/gchar confusion
with special_case_table.
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
......
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
Some warning fixes for the Sun compiler (Reported by
David L. Cooper II, #136401)
* glib/giochannel.c (g_io_channel_read): Return
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
function returns a GIOError.
* glib/guniprop.c: Fix some guchar/gchar confusion
with special_case_table.
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
......
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
Some warning fixes for the Sun compiler (Reported by
David L. Cooper II, #136401)
* glib/giochannel.c (g_io_channel_read): Return
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
function returns a GIOError.
* glib/guniprop.c: Fix some guchar/gchar confusion
with special_case_table.
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
......
Sat Mar 13 23:10:35 2004 Owen Taylor <otaylor@redhat.com>
Some warning fixes for the Sun compiler (Reported by
David L. Cooper II, #136401)
* glib/giochannel.c (g_io_channel_read): Return
G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
function returns a GIOError.
* glib/guniprop.c: Fix some guchar/gchar confusion
with special_case_table.
Fri Mar 12 15:30:58 2004 Manish Singh <yosh@gimp.org>
* glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
......
......@@ -186,7 +186,7 @@ g_io_channel_read (GIOChannel *channel,
{
if (bytes_read)
*bytes_read = 0;
return G_IO_STATUS_NORMAL;
return G_IO_ERROR_NONE;
}
g_return_val_if_fail (buf != NULL, G_IO_ERROR_UNKNOWN);
......
......@@ -377,7 +377,7 @@ g_unichar_toupper (gunichar c)
gunichar val = ATTTABLE (c >> 8, c & 0xff);
if (val >= 0x1000000)
{
const guchar *p = special_case_table + val - 0x1000000;
const gchar *p = special_case_table + val - 0x1000000;
return g_utf8_get_char (p);
}
else
......@@ -414,7 +414,7 @@ g_unichar_tolower (gunichar c)
gunichar val = ATTTABLE (c >> 8, c & 0xff);
if (val >= 0x1000000)
{
const guchar *p = special_case_table + val - 0x1000000;
const gchar *p = special_case_table + val - 0x1000000;
return g_utf8_get_char (p);
}
else
......@@ -578,7 +578,7 @@ output_special_case (gchar *out_buffer,
int type,
int which)
{
const guchar *p = special_case_table + offset;
const gchar *p = special_case_table + offset;
gint len;
if (type != G_UNICODE_TITLECASE_LETTER)
......
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