mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
comply with C99 aliasing rules.
2004-07-06 Sven Neumann <sven@gimp.org> * libgimpmodule/gimpmodule.c: comply with C99 aliasing rules.
This commit is contained in:
parent
fa668df1ee
commit
5b5e8c05fc
2 changed files with 9 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-07-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpmodule/gimpmodule.c: comply with C99 aliasing rules.
|
||||
|
||||
2004-07-06 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpwidgets-utils.c (gimp_menu_position)
|
||||
|
|
|
@ -163,8 +163,8 @@ gimp_module_finalize (GObject *object)
|
|||
static gboolean
|
||||
gimp_module_load (GTypeModule *module)
|
||||
{
|
||||
GimpModule *gimp_module;
|
||||
GimpModuleRegisterFunc func;
|
||||
GimpModule *gimp_module;
|
||||
gpointer func;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_MODULE (module), FALSE);
|
||||
|
||||
|
@ -184,8 +184,7 @@ gimp_module_load (GTypeModule *module)
|
|||
return FALSE;
|
||||
|
||||
/* find the gimp_module_register symbol */
|
||||
if (! g_module_symbol (gimp_module->module, "gimp_module_register",
|
||||
(gpointer *) &func))
|
||||
if (! g_module_symbol (gimp_module->module, "gimp_module_register", &func))
|
||||
{
|
||||
gimp_module_set_last_error (gimp_module,
|
||||
"Missing gimp_module_register() symbol");
|
||||
|
@ -305,7 +304,7 @@ gimp_module_query_module (GimpModule *module)
|
|||
{
|
||||
const GimpModuleInfo *info;
|
||||
gboolean close_module = FALSE;
|
||||
GimpModuleQueryFunc func;
|
||||
gpointer func;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_MODULE (module), FALSE);
|
||||
|
||||
|
@ -318,8 +317,7 @@ gimp_module_query_module (GimpModule *module)
|
|||
}
|
||||
|
||||
/* find the gimp_module_query symbol */
|
||||
if (! g_module_symbol (module->module, "gimp_module_query",
|
||||
(gpointer *) &func))
|
||||
if (! g_module_symbol (module->module, "gimp_module_query", &func))
|
||||
{
|
||||
gimp_module_set_last_error (module,
|
||||
"Missing gimp_module_query() symbol");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue