<URL: http://bugs.freeciv.org/Ticket/Display.html?id=38190 >

On Thu, 15 Mar 2007 Marko Lindqvist wrote:

> cc1: warnings being treated as errors
> ../../../src.patched/client/gui-xaw/cma_fe.c: In function 'remove_preset_yes':
> ../../../src.patched/client/gui-xaw/cma_fe.c:465: warning: cast from
> pointer to integer of different size

x86_64? Can attached patch help?

-- 
Thanks, evyscr

--- cma_fe.c.orig	2007-02-04 18:18:46 +0300
+++ cma_fe.c	2007-03-15 15:37:26 +0300
@@ -462,7 +462,7 @@
 static void remove_preset_yes(Widget w, XtPointer row,
                               XtPointer call_data)
 {
-  cmafec_preset_remove((int)row);
+  cmafec_preset_remove(XTPOINTER_TO_INT(row));
   update_cma_preset_list();
   destroy_message_dialog(w);
 }
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to