[Bug 760762] New: tracer: Fix build error

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jan 17 15:27:54 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760762

            Bug ID: 760762
           Summary: tracer: Fix build error
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

thread_id is casted to guint64, which is throwing build error. Changing it to
guint

The errors are 


gstrusage.c: In function 'do_stats':
gstrusage.c:241:37: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
   gst_tracer_record_log (tr_thread, (guint64)thread_id, ts,


gst-stats.c: In function ‘new_pad_stats’:
gst-stats.c:162:22: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
   stats->thread_id = (gpointer) thread_id;
                      ^
gst-stats.c: In function ‘do_thread_rusage_stats’:
gst-stats.c:395:36: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
   thread_stats = get_thread_stats ((gpointer) thread_id);

-- 
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