[Gstreamer-bugs] [Bug 123137] New - Compilation fails when size_t is not an unsigned int

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Wed Sep 24 12:11:16 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=123137

Changed by jtalkington at users.sourceforge.net.

--- shadow/123137	Wed Sep 24 15:11:16 2003
+++ shadow/123137.tmp.4599	Wed Sep 24 15:11:16 2003
@@ -0,0 +1,23 @@
+Bug#: 123137
+Product: GStreamer
+Version: 0.6.x CVS
+OS: Macintosh
+OS Details: MacOS X 10.2.8 (Darwin)
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: jtalkington at users.sourceforge.net               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: Compilation fails when size_t is not an unsigned int
+
+Darwin defines size_t as an unsigned long, while it's an unsigned int on
+Linux.  With -werror, this causes a failure in gstfilesrc.c in function
+gst_filesrc_map_region on Darwin.
+
+I've created a patch to typecast it to unsigned long on all platforms,
+since that's what's happening if the mmap works.




More information about the Gstreamer-bugs mailing list