[Gstreamer-bugs] [Bug 142819] - ppc64 fix for gstreamer
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Thu May 20 12:32:36 PDT 2004
http://bugzilla.gnome.org/show_bug.cgi?id=142819
GStreamer | documentation | Ver: HEAD CVS
ds at schleef.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From ds at schleef.org 2004-05-20 15:32 -------
The existing code is wrong for several reasons. 64-bit pointers only make the
problem worse (possibly lots worse).
It is well-known that MAXINT is greater than -MAXINT-1, but (MAXINT-(-MAXINT-1))
is -1, leading the caller to believe that MAXINT < -MAXINT-1.
It's not entirely clear to me why this code wants to compare pointers. Seems
rather dumb, and likely to be untested code. But I'll leave it.
Thanks for noticing.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
More information about the Gstreamer-bugs
mailing list