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 685065 - Missing cast in curlbasesink
Missing cast in curlbasesink
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal normal
: 1.0.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-28 18:33 UTC by LRN
Modified: 2012-09-29 10:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes the warning. (1.12 KB, patch)
2012-09-28 18:34 UTC, LRN
committed Details | Review

Description LRN 2012-09-28 18:33:43 UTC
gstcurlbasesink.c: In function 'gst_curl_base_sink_setup_dscp_unlocked':
gstcurlbasesink.c:1175:7: error: passing argument 4 of 'setsockopt' from incompatible pointer type [-Werror]
f:\gstreamer-buildslave\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock2.h:551:32: note: expected 'const char *' but argument is of type 'gint *'
Comment 1 LRN 2012-09-28 18:34:20 UTC
Created attachment 225351 [details] [review]
Fixes the warning.
Comment 2 Tim-Philipp Müller 2012-09-29 10:45:58 UTC
commit 2c2d6b0753b6e19205d36db5783f39edba7ebf51
Author: Руслан Ижбулатов <lrn1986@gmail.com>
Date:   Fri Sep 28 22:30:39 2012 +0400

    curl: fix compiler warning with setsockopt() on windows
    
    The optval argument is of type const char * on windows.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685065

Would be great if you could use the notation 'plugin-or-element: xyz' for the summary lines of your patches in future, thanks!