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 675520 - Fix compiler warnings on mingw-w64
Fix compiler warnings on mingw-w64
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal minor
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-05 18:26 UTC by Raimo Järvi
Modified: 2012-05-05 18:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix compiler warnings on mingw-w64 (5.27 KB, patch)
2012-05-05 18:29 UTC, Raimo Järvi
committed Details | Review

Description Raimo Järvi 2012-05-05 18:26:27 UTC
The following patch fixes some compiler warnings on mingw-w64:

gstasfmux.c:1415:3: error: format '%u' expects type 'unsigned int', but argument 8 has type 'gsize'
gstasfmux.c:1500:5: error: format '%u' expects type 'unsigned int', but argument 8 has type 'gsize'
gstasfobjects.c:576:3: error: format '%u' expects type 'unsigned int', but argument 8 has type 'gsize'
gstrtpasfpay.c:205:5: error: format '%u' expects type 'unsigned int', but argument 9 has type 'gsize'

gsturidownloader.c:230:3: error: format '%u' expects type 'unsigned int', but argument 8 has type 'gsize'

gstwrappercamerabinsrc.c:202:3: error: format '%u' expects type 'unsigned int', but argument 10 has type 'gsize'

tsdemux.c:1272:3: error: format '%d' expects type 'int', but argument 10 has type 'gsize'
Comment 1 Raimo Järvi 2012-05-05 18:29:00 UTC
Created attachment 213505 [details] [review]
Fix compiler warnings on mingw-w64
Comment 2 Tim-Philipp Müller 2012-05-05 18:47:33 UTC
Pushed, thanks:

 commit 93ad7a4d06db89bae40ab6bfa5b1b7a2e614d268
 Author: Raimo Järvi <raimo.jarvi@gmail.com>
 Date:   Sat May 5 20:01:46 2012 +0300

    Fix printf format compiler warnings on mingw-w64
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675520
Comment 3 Tim-Philipp Müller 2012-05-05 18:48:04 UTC
(I assume this was for the master branch and does not apply to the 0.10 branch)