Commit ea314b66 authored by Claes's avatar Claes Committed by Esteban Blanc

Script assignment of large unsigned integers on 32-bit fix

parent 1d01d9d6
...@@ -1088,6 +1088,10 @@ static int operand_found(ccm_tRowCtx rowctx) ...@@ -1088,6 +1088,10 @@ static int operand_found(ccm_tRowCtx rowctx)
operand_p->value_float = -operand_p->value_float; operand_p->value_float = -operand_p->value_float;
} else { } else {
nr = sscanf(operand_p->name, ccm_cIntFormat, &operand_p->value_int); nr = sscanf(operand_p->name, ccm_cIntFormat, &operand_p->value_int);
#ifndef __x86_64__
if (operand_p->value_int == 2147483647)
nr = sscanf(operand_p->name, "%u", (unsigned int *)&operand_p->value_int);
#endif
operand_p->value_decl = K_DECL_INT; operand_p->value_decl = K_DECL_INT;
if (rowctx->num_neg) if (rowctx->num_neg)
operand_p->value_int = -operand_p->value_int; operand_p->value_int = -operand_p->value_int;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment