+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * glib/gconvert.c
+ glib/gen-unicode-tables.pl
+ glib/gunidecomp.h : fixed cast/type problems to
+ avoid warnings (with forte compiler) (#73898)
+
2002-03-12 Alexander Larsson <alla@lysator.liu.se>
* glib/gconvert.c:
gchar *key;
guint32 refcount;
gboolean used;
- iconv_t cd;
+ GIConv cd;
};
static GList *iconv_cache_list;
* Returns a pointer to the newly allocated cache bucket.
**/
struct _iconv_cache_bucket *
-iconv_cache_bucket_new (const gchar *key, iconv_t cd)
+iconv_cache_bucket_new (const gchar *key, GIConv cd)
{
struct _iconv_cache_bucket *bucket;
if (bucket->used)
{
cd = g_iconv_open (to_codeset, from_codeset);
- if (cd == (iconv_t) -1)
+ if (cd == (GIConv) -1)
goto error;
}
else
else
{
cd = g_iconv_open (to_codeset, from_codeset);
- if (cd == (iconv_t) -1)
+ if (cd == (GIConv) -1)
goto error;
iconv_cache_expire_unused ();
{
struct _iconv_cache_bucket *bucket;
const gchar *key;
- iconv_t cd;
+ GIConv cd;
- cd = (iconv_t) converter;
+ cd = converter;
- if (cd == (iconv_t) -1)
+ if (cd == (GIConv) -1)
return 0;
G_LOCK (iconv_cache_lock);
}
print OUT "\n};\n\n";
- printf OUT "static const char decomp_expansion_string[] = %s;\n\n", $decomp_string;
+ printf OUT "static const guchar decomp_expansion_string[] = %s;\n\n", $decomp_string;
print OUT "#endif /* DECOMP_H */\n";
{ 0xffee, 255, 0, 16468 }
};
-static const char decomp_expansion_string[] =
+static const guchar decomp_expansion_string[] =
"\x00\x20\0\0" /* offset 0 */
"\x00\x20\x03\x08\0\0" /* offset 4 */
"\x00\x61\0\0" /* offset 10 */
+2002-03-13 Erwann Chenede <erwann.chenede@sun.com>
+ * gobject/gclosure.c
+ * gobject/gobject.c
+ * gobject/gsignal.c: fixed cast problems with function pointer
+ to avoid warnings (with forte compiler) (#73898)
+
+
2002-03-05 Sven Neumann <sven@gimp.org>
* gvaluetransform.c (g_value_transforms_init): don't try to
register guint n = --closure->n_fnotifiers;
ndata = closure->notifiers + CLOSURE_N_MFUNCS (closure) + n;
- closure->marshal = (gpointer) ndata->notify;
+ closure->marshal = (GClosureMarshal) ndata->notify;
closure->data = ndata->data;
ndata->notify (ndata->data, closure);
}
register guint n = --closure->n_inotifiers;
ndata = closure->notifiers + CLOSURE_N_MFUNCS (closure) + closure->n_fnotifiers + n;
- closure->marshal = (gpointer) ndata->notify;
+ closure->marshal = (GClosureMarshal) ndata->notify;
closure->data = ndata->data;
ndata->notify (ndata->data, closure);
}
closure = g_closure_new_simple (sizeof (GCClosure), user_data);
if (destroy_data)
g_closure_add_finalize_notifier (closure, user_data, destroy_data);
- ((GCClosure*) closure)->callback = callback_func;
+ ((GCClosure*) closure)->callback = (gpointer) callback_func;
return closure;
}
closure = g_closure_new_simple (sizeof (GCClosure), user_data);
if (destroy_data)
g_closure_add_finalize_notifier (closure, user_data, destroy_data);
- ((GCClosure*) closure)->callback = callback_func;
+ ((GCClosure*) closure)->callback = (gpointer) callback_func;
closure->derivative_flag = TRUE;
return closure;
g_warning ("%s: invalid signal name \"%s\"", G_STRLOC, signal_spec);
else if (!g_signal_handlers_disconnect_matched (object, mask | (detail ? G_SIGNAL_MATCH_DETAIL : 0),
sid, detail,
- NULL, callback, data))
+ NULL, (gpointer)callback, data))
g_warning (G_STRLOC ": signal handler %p(%p) is not connected", callback, data);
signal_spec = va_arg (var_args, gchar*);
}
}
hook = g_hook_alloc (node->emission_hooks);
hook->data = hook_data;
- hook->func = hook_func;
+ hook->func = (gpointer) hook_func;
hook->destroy = data_destroy;
signal_hook = SIGNAL_HOOK (hook);
signal_hook->detail = detail;
if (!signal_hook->detail || signal_hook->detail == detail)
{
- GSignalEmissionHook hook_func = hook->func;
+ GSignalEmissionHook hook_func = (GSignalEmissionHook) hook->func;
was_in_call = G_HOOK_IN_CALL (hook);
hook->flags |= G_HOOK_FLAG_IN_CALL;