[gstreamer-bugs] [Bug 511825] New: [RTSP] compiler warning on FreeBSD
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Jan 24 08:31:18 PST 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=511825
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: [RTSP] compiler warning on FreeBSD
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: slomo at circular-chaos.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Compiling gst-libs/gst/rtsp/gstrtspconnection.c on FreeBSD currently gives,
with latest CVS, the following compiler warning. Patch below fixes it.
gstrtspconnection.c: In function `add_date_header':
gstrtspconnection.c:374: warning: passing arg 1 of `gmtime' from incompatible
pointer type
diff -a -u -p -r1.8 gstrtspconnection.c
--- gst-libs/gst/rtsp/gstrtspconnection.c 16 Dec 2007 23:52:58 -0000
1.8
+++ gst-libs/gst/rtsp/gstrtspconnection.c 24 Jan 2008 16:29:29 -0000
@@ -371,7 +371,7 @@ add_date_header (GstRTSPMessage * messag
g_get_current_time (&tv);
strftime (date_string, sizeof (date_string), "%a, %d %b %Y %H:%M:%S GMT",
- gmtime (&tv.tv_sec));
+ gmtime ((time_t *) &tv.tv_sec));
gst_rtsp_message_add_header (message, GST_RTSP_HDR_DATE, date_string);
}
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=511825.
More information about the Gstreamer-bugs
mailing list