From: <sl...@ke...> - 2008-01-29 09:59:13
|
CVS Root: /cvs/gstreamer Module: gst-plugins-base Changes by: slomo Date: Tue Jan 29 2008 09:59:18 UTC Log message: * gst-libs/gst/rtsp/gstrtspconnection.c: (add_date_header): Cast glong to time_t as time_t might have a different type on other platforms, like FreeBSD, and we get a compiler warning otherwise. Fixes bug #511825. Modified files: . : ChangeLog gst-libs/gst/rtsp: gstrtspconnection.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.3703&r2=1.3704 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/rtsp/gstrtspconnection.c.diff?r1=1.8&r2=1.9 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v retrieving revision 1.3703 retrieving revision 1.3704 diff -u -d -r1.3703 -r1.3704 --- ChangeLog 29 Jan 2008 09:47:11 -0000 1.3703 +++ ChangeLog 29 Jan 2008 09:59:02 -0000 1.3704 @@ -1,5 +1,12 @@ 2008-01-29 Sebastian Dröge <sl...@ci...> + * gst-libs/gst/rtsp/gstrtspconnection.c: (add_date_header): + Cast glong to time_t as time_t might have a different type on + other platforms, like FreeBSD, and we get a compiler warning + otherwise. Fixes bug #511825. + +2008-01-29 Sebastian Dröge <sl...@ci...> * gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_class_init): Initialize the GstRingerBuffer class to get it's debug category Index: gstrtspconnection.c RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/rtsp/gstrtspconnection.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- gstrtspconnection.c 16 Dec 2007 23:52:58 -0000 1.8 +++ gstrtspconnection.c 29 Jan 2008 09:59:03 -0000 1.9 @@ -371,7 +371,7 @@ 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); } |