After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557293 - Argument type mismatch on Windows
Argument type mismatch on Windows
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.10
Other All
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-21 19:05 UTC by LRN
Modified: 2009-02-28 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes reported warnings in gstdynudpsink.c (584 bytes, patch)
2008-10-21 19:06 UTC, LRN
committed Details | Review
Fixes reported warnings in gstmultiudpsink.c (1.13 KB, patch)
2008-10-21 19:07 UTC, LRN
committed Details | Review
Fixes reported warnings in gstudpsrc.c (1.15 KB, patch)
2008-10-21 19:07 UTC, LRN
committed Details | Review
Various fixes. (1.99 KB, patch)
2009-02-23 21:57 UTC, LRN
none Details | Review

Description LRN 2008-10-21 19:05:41 UTC
Please describe the problem:
When building gst-plugins-good 0.10.10.4 on Windows with MSys/MinGW, gcc throws a few warnings (treats them as errors) like this:
warning: pointer targets in passing argument X of ‘XXX’ differ in signedness
for /gst/udp plugin

Steps to reproduce:
Build gst-plugins-good 0.10.10.4 on Windows with MSys/MinGW

Actual results:
Build fails

Expected results:
Build completes successfully

Does this happen every time?
Yes

Other information:
Comment 1 LRN 2008-10-21 19:06:44 UTC
Created attachment 121051 [details] [review]
Fixes reported warnings in gstdynudpsink.c
Comment 2 LRN 2008-10-21 19:07:26 UTC
Created attachment 121052 [details] [review]
Fixes reported warnings in gstmultiudpsink.c
Comment 3 LRN 2008-10-21 19:07:58 UTC
Created attachment 121053 [details] [review]
Fixes reported warnings in gstudpsrc.c
Comment 4 Sebastian Dröge (slomo) 2008-10-27 08:36:29 UTC
2008-10-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	Patch by: <lrn1986 at gmail dot com>

	* gst/udp/gstdynudpsink.c: (gst_dynudpsink_render):
	* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render):
	* gst/udp/gstudpsrc.c: (gst_udpsrc_create):
	Fix "argument type mismatch" compiler warnings on Windows.
	Fixes bug #557293.
Comment 5 LRN 2009-02-23 21:57:30 UTC
Created attachment 129373 [details] [review]
Various fixes.

Fixes:
Two typecasts.
One wrong format case.
One undeclared variable.
Comment 6 LRN 2009-02-23 21:58:35 UTC
Oh, the patch is for plugins-base.
Comment 7 LRN 2009-02-28 11:36:01 UTC
Ok, i'll make a new bug for that.