GNOME Bugzilla – Bug 156851
[PATCH] Crash on startup on 64-bit architectures, and other 64-bit cleanliness issues
Last modified: 2004-12-22 21:47:04 UTC
gthumb-2.4.2 contains various _get_type functions which use a guint internally to store a GType; they should use a GType as there's no guarantee that a guint can hold a GType (and this assumption breaks on 64-bit architectures). Am about to attach a patch (against the 2.4.2 tarball) with a proposed fix...
Created attachment 33218 [details] [review] Patch to fix crash bugs in the various get_type functions
Tracking this downstream here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137594
patch applied to HEAD and gthumb-2-4 branches, thank you.
Doh! That only covered the src directory; there are more in libgthumb; I'll attach an updated patch shortly...
Created attachment 33222 [details] [review] Revised version of patch, which covers the libgthumb subdirectory as well as the src subdirectory
applied.