orcbytecode: Fix parsing of 32 bit values from bytecode as well
authorTim-Philipp Müller <tim@centricular.net>
Mon, 19 Aug 2013 17:12:21 +0000 (18:12 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 19 Aug 2013 17:15:21 +0000 (18:15 +0100)
commiteb9108ce7c01a4322a3b8098b1427901accbeefb
tree4f6f741f602c52adb544a40566c9ae3a85d69708
parent3f98bc77a8a6056dc7674aa48c683eea2bd0c5b8
orcbytecode: Fix parsing of 32 bit values from bytecode as well

The shift by 24 bits has to be casted as well, otherwise we
shift into the sign bit which causes undefined behaviour.

See https://bugzilla.gnome.org/show_bug.cgi?id=698520
orc/orcbytecode.c