steven mestdagh wrote:

Yes. I think the problem comes from line 1047 of drgeo_figure.cc:

return GINT_TO_POINTER (strtol ((gchar *) data.key, NULL, 16));

Looks like bad design... it's using the address of item (pointer value)
as a hash key, and the pointer happens to be larger than INT_MAX (the
value it can't find above). Maybe this can be solved by generating the
hash key in a different way.

This works

-    return GINT_TO_POINTER (strtol ((gchar *) data.key, NULL, 16));
+    return GUINT_TO_POINTER (strtoul ((gchar *) data.key, NULL, 16));

Reply via email to