Compiler errors when compiling in a 64-bit environment (w/ patch)

Bug #771345 reported by ajs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BellePoule
Status tracked in Trunk
Trunk
Fix Released
High
Unassigned

Bug Description

There are several typecasting errors when casting from void* (returned by g_object_get_data) in a 64-bit compiler environment. The existing typecasts raise a 'loss of precision' compiler error.

The errors are fixed when using the glib type conversion macros (see http://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html). I have attached a patch that uses these macros to fix the compiler errors.

Related branches

Revision history for this message
ajs (ajs-newmexico) wrote :
Revision history for this message
ajs (ajs-newmexico) wrote :

This bug is against the trunk, revision 264. I'm new to Launchpad and I don't see how I can associate this bug with the trunk. Sorry.

betonniere (betonniere)
Changed in bellepoule:
importance: Undecided → High
Revision history for this message
betonniere (betonniere) wrote :

I'm going to integrate your patch to the trunk in the next days. Thank you for your contribution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.