Several minor ANSI C fixes.
authorMartin Baulig <baulig@suse.de>
Fri, 29 Sep 2000 13:37:01 +0000 (13:37 +0000)
committerMartin Baulig <martin@src.gnome.org>
Fri, 29 Sep 2000 13:37:01 +0000 (13:37 +0000)
commita3fc275ddd1237ba897eb86200636c49ffedae35
tree2398f25f810c2ee2a43688e938f4c03dce1f90e3
parent7633908c9396ff0b45d3f09c898781adb4caab84
Several minor ANSI C fixes.

2000-09-29  Martin Baulig  <baulig@suse.de>

Several minor ANSI C fixes.

Added missing casts:
* gdate.c (g_date_fill_parse_tokens): `s = (guchar *) str'.
* gmain.c (g_idle_dispatch): `func = (GSourceFunc) source_data'.
(g_idle_add_full): `(gpointer) function' in call to g_source_add().
* gstrfuncs.c (g_strdown): `s = (guchar *) string' and
`return (gchar *) string'.
(g_strup): Likewise.
(g_strchug): `start = (guchar*) string' in 1st for() argument;
`strlen ((gchar *) start)' in call to g_memmove().
* gstring.c (g_string_down): `s = (guchar *) string->str'.
(g_string_up): Likewise.
* gthreadpool.c (stop_this_thread_marker):
`(gpointer) &g_thread_pool_new'.
* gunidecomp.h (decomp_table[]): Cast all the strings to
`unsigned char *'.

Put text following #endif into comments:
* gmain.c: here.
20 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdate.c
glib/gdate.c
glib/gmain.c
glib/gstrfuncs.c
glib/gstring.c
glib/gthreadpool.c
glib/gunidecomp.h
gmain.c
gstrfuncs.c
gstring.c
gthreadpool.c
gunidecomp.h