diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-node.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-06-09 Jeremy Katz <katzj@redhat.com> + + * lib/ephy-node.c (callback): Use va_copy for the valist instead of + directly accessing it. va_list is implemented as an array on some + platforms (eg, AMD64). + 2003-06-08 Jeremy Katz <katzj@redhat.com> * lib/egg/egg-menu-merge.h (egg_menu_merge_add_ui_from_string): diff --git a/lib/ephy-node.c b/lib/ephy-node.c index e88cb13ce..ed2b20e7b 100644 --- a/lib/ephy-node.c +++ b/lib/ephy-node.c @@ -115,11 +115,13 @@ int_hash (gconstpointer a) static void callback (long id, EphyNodeSignalData *data, gpointer *user_data) { - va_list valist = (va_list) user_data[0]; + va_list valist; EphyNodeSignalType type = GPOINTER_TO_INT (user_data[1]); if (data->type != type) return; + va_copy(valist, user_data[0]); + switch (data->type) { case EPHY_NODE_DESTROY: |