aboutsummaryrefslogtreecommitdiff
path: root/qtest.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-06-25 21:16:58 +0200
committerAlexander Graf <agraf@suse.de>2015-07-07 17:51:47 +0200
commit92f2b4e71e988ad2751c71717e9fe3387753442a (patch)
treefe3ebf9202d577f588880e1c3fd192cf4ca43dfa /qtest.c
parentc9c19b493286db7358f9ee26401b927bbbd21604 (diff)
target-s390x: fix CONVERT TO BINARY (CVD, CVDY)
current_number being shift left by more than 32 bits, we can't use a simple int. Similarly use an int64_t type for the input binary value, to not get the -2^31 case wrong. Finally don't initialize shift to 4, it's already done in the for loop. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qtest.c')
0 files changed, 0 insertions, 0 deletions