denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] Casts of gint and gpointer


From: Richard Shann
Subject: [Denemo-devel] Casts of gint and gpointer
Date: Tue, 25 Oct 2011 09:31:51 +0100

Yesterday Nils was getting a crash (due to spaces in directory names)
where I got none. I suspect that the difference is that  he has 64bit
pointers and I have 32.
There is a warning somewhere in the GLib docs that you shouldn't cast
between gint and gpointer with (gint) and (gpointer) but instead use a
macro they provide.
I suspect it is in code which calls g_object_set_data() and
g_object_get_data() that we transgress.
While Jeremiah is working on gtk3 migration it is awkward to fix as it
will mean a lot of small merges.
But we should do it ASAP.
Richard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]