aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_start_SUITE.erl
diff options
context:
space:
mode:
authorDmitry Belyaev <[email protected]>2014-11-13 16:11:20 +1100
committerDmitry Belyaev <[email protected]>2014-11-14 13:53:16 +1100
commitba8f70f0e9279e84350be840529c5e9b66f7f55b (patch)
treef167f3abebe41bb219f15dbb565b3e555c687f17 /lib/odbc/test/odbc_start_SUITE.erl
parentd68a307e7e40bf0367d1b2c6e2cc0d5fcadc17da (diff)
downloadotp-ba8f70f0e9279e84350be840529c5e9b66f7f55b.tar.gz
otp-ba8f70f0e9279e84350be840529c5e9b66f7f55b.tar.bz2
otp-ba8f70f0e9279e84350be840529c5e9b66f7f55b.zip
Fix signedness bug
The regression was introduced by making byte type signed. Bitwise OR (|) applied to signed char (byte) and any longer type reqires the former to expand to the same size. When the char is negative it is expanded with sign bit filling the extra bytes causing the unexpected result.
Diffstat (limited to 'lib/odbc/test/odbc_start_SUITE.erl')
0 files changed, 0 insertions, 0 deletions