[Bug 760762] tracer: Fix compiler warnings on 32-bit systems

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 18 03:32:46 PST 2016


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ensonic at sonicpulse.de
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.2
            Summary|tracer: Fix build error     |tracer: Fix compiler
                   |                            |warnings on 32-bit systems

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Pushed my solution then, because yours is not going to work right on 64-bit
systems:

commit 8641d7c9113e23a60d2472f1434c28de3a608f23
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sun Jan 17 23:49:27 2016 +0000

    tracers: fix thread-id casts to 64-bit ints on 32-bit systems

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



It's not very nice though, perhaps we should make the trace logger handle
GST_TYPE_THREAD as well and then serialise the pointer to a uint64 internally?
Or the logger just always logs the thread ID automatically just like we do with
GST_LOG.

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