[gstreamer-bugs] [Bug 625368] New: gstdatetime.c doesn't compile in VS 2008

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 26 23:49:43 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=625368
  GStreamer | gstreamer (core) | 0.10.30

           Summary: gstdatetime.c doesn't compile in VS 2008
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.30
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wl2776 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


While merging commit 4cecd73c93b0728cd0e4980ed8d0940c93f9129e to the
GStreamer-winbuilds, I've got compiler errors in the function
gst_date_time_new_from_unix_epoch:

line 323: too many arguments to the function localtime.

this line says:
localtime(&tt, &tm);

but should be
memcpy(&tm, localtime (&tt), sizeof(struct tm));

Because localtime takes one argument and returns a pointer.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list