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 660083 - Fix mingw compiler warnings
Fix mingw compiler warnings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal minor
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-25 21:29 UTC by Raimo Järvi
Modified: 2011-09-26 10:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix warnings (2.22 KB, patch)
2011-09-25 21:36 UTC, Raimo Järvi
committed Details | Review

Description Raimo Järvi 2011-09-25 21:29:52 UTC
Warnings when I compile on 64 bit mingw-w64:

gstregistry.c: In function 'gst_registry_scan_path_level':
gstregistry.c:1219:9: error: format '%ld' expects type 'long int', but argument 8 has type 'time_t'
gstregistry.c:1219:9: error: format '%ld' expects type 'long int', but argument 9 has type 'time_t'

gststructure.c: In function 'gst_structure_validate_name':
gststructure.c:172:5: error: cast from pointer to integer of different size
gststructure.c:172:5: error: cast from pointer to integer of different size
Comment 1 Raimo Järvi 2011-09-25 21:36:00 UTC
Created attachment 197437 [details] [review]
Fix warnings
Comment 2 Sebastian Dröge (slomo) 2011-09-26 10:17:59 UTC
commit 6637d983d3246634824d2dc95850dac2a15dd63e
Author: Raimo Järvi <raimo.jarvi@gmail.com>
Date:   Mon Sep 26 00:30:47 2011 +0300

    gst: Fix compiler warnings on 64 bit mingw-w64
    
    Fixes bug #660083.