[quake3-bugzilla] [Bug 6432] Undefined behavior

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Wed Sep 7 19:56:58 EDT 2016


https://bugzilla.icculus.org/show_bug.cgi?id=6432

James Canete <use.less01 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |use.less01 at gmail.com

--- Comment #2 from James Canete <use.less01 at gmail.com> ---
I don't like the (1 << (shift)) that's in all these macros, it's still
undefined.

So I used (1ULL << shift) instead.

https://github.com/ioquake/ioq3/commit/497a74f22a39cbf8694e5d8567f3113f03ba3620

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3-bugzilla/attachments/20160907/2234c252/attachment.html>


More information about the quake3-bugzilla mailing list