freebsd-ports/devel/gcvs/files/patch-rf_uwidget.h
Martin Wilke a28acc2928 - Fix build with gcc 4.2/AMD64
PR:		118027
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav,linimon)
2007-11-22 22:27:29 +00:00

11 lines
569 B
C

--- rf/uwidget.h.orig 2007-11-13 23:19:17.000000000 +0100
+++ rf/uwidget.h 2007-11-13 23:19:38.000000000 +0100
@@ -119,7 +119,7 @@
virtual void AddListener(UCmdTarget * listener);
//! this is overided in order to broadcast to the listeners
- virtual int UDispatchMessage(int/*UEventType*/ evt, int arg1, void *arg2, UDispatchInfo & dispatchInfo);
+ virtual int UDispatchMessage(int/*UEventType*/ evt, int arg1, const void *arg2, UDispatchInfo & dispatchInfo);
//! return a sub-widget as inserted by EV_INIT_WIDGET
//! \arg \c cmd the sub-widget identifier.