summaryrefslogtreecommitdiff
path: root/gmain.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2000-05-19 08:18:29 +0000
committerTim Janik <timj@src.gnome.org>2000-05-19 08:18:29 +0000
commit1e5d06d4ceb07ae8ddbd596cb69936fb3807a116 (patch)
tree9ecaa50c30294ca4ab11731714cad5828df49375 /gmain.c
parent4b9a9eb8d3ea95b5e804fece07c32b0f15d13c94 (diff)
downloadglib-1e5d06d4ceb07ae8ddbd596cb69936fb3807a116.tar.gz
fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org> * gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>. * gslist.c (g_slist_reverse): shut up compiler. * gscanner.c (g_scanner_get_token_ll): removed inline assignment. * garray.c: remove index>=0 checks for unsigned indices. * gmain.c (g_idle_prepare): timeout assignment fix. * gtree.c (g_tree_node_rotate_right): shut up compiler.
Diffstat (limited to 'gmain.c')
-rw-r--r--gmain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gmain.c b/gmain.c
index e7161c43c..155ccbde0 100644
--- a/gmain.c
+++ b/gmain.c
@@ -1352,7 +1352,8 @@ g_idle_prepare (gpointer source_data,
gint *timeout,
gpointer user_data)
{
- timeout = 0;
+ *timeout = 0;
+
return TRUE;
}