123456789101112131415161718192021222324 |
- $OpenBSD: patch-geo_drgeo_figure_cc,v 1.2 2017/05/04 19:45:27 espie Exp $
- Index: geo/drgeo_figure.cc
- --- geo/drgeo_figure.cc.orig
- +++ geo/drgeo_figure.cc
- @@ -48,7 +48,7 @@
- #include "drgeo_dialog.h"
- #include "traite.h"
-
- -extern struct
- +extern struct fooclang
- {
- drgeoPoint mouse;
- drgeoFigure *figure;
- @@ -1044,7 +1044,7 @@ drgeoFigure::getKeyFromValueOnHash (gpointer value)
- return NULL;
- else
- // data.key is a * gchar get it content as a gpointer
- - return GINT_TO_POINTER (strtol ((gchar *) data.key, NULL, 16));
- + return GUINT_TO_POINTER (strtoul ((gchar *) data.key, NULL, 16));
- }
-
- void
|