orcbytecode: Fix parsing of 64 bit values from bytecode
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 19 Aug 2013 15:02:24 +0000 (17:02 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 19 Aug 2013 15:02:24 +0000 (17:02 +0200)
commit3f98bc77a8a6056dc7674aa48c683eea2bd0c5b8
tree870c5c28fd70885acee2c3f3332146937ffe6b85
parent90a7c923127371a27645477a37f86c426d14982b
orcbytecode: Fix parsing of 64 bit values from bytecode

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

Thanks to Edward Hervey for debugging this.

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