[Bug 754755] playbin: Compiler warning with 64bit Windows target MinGW casting integer to pointer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 9 00:03:42 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754755

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #310945|none                        |needs-work
             status|                            |

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 310945
  --> https://bugzilla.gnome.org/attachment.cgi?id=310945
Fix this problem

No that won't work as guint is not necessarily the same size as gulong. You
need a GULONG_TO_POINTER and GPOINTER_TO_ULONG macro for this.

And for consistency the GPOINTER_TO_ULONG macro should be used in the other
places.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list