Browse Source

Avoid duplication of code

pull/8/head
Rafal Kupiec 3 years ago
parent
commit
74d8f3f190
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      builtin.c
  2. +2
    -2
      lib.c

+ 2
- 2
builtin.c View File

@ -4138,7 +4138,7 @@ PH7_PRIVATE sxi32 PH7_InputFormat(
/* Ticket 1433-003 */
if( iVal < 0 ){
/* Overflow */
iVal= 0x7FFFFFFFFFFFFFFF;
iVal= SXI64_HIGH;
}
prefix = '-';
}else if( flag_plussign ) prefix = '+';
@ -4150,7 +4150,7 @@ PH7_PRIVATE sxi32 PH7_InputFormat(
/* Ticket 1433-003 */
if( iVal < 0 ){
/* Overflow */
iVal= 0x7FFFFFFFFFFFFFFF;
iVal= SXI64_HIGH;
}
}
prefix = 0;


+ 2
- 2
lib.c View File

@ -2793,7 +2793,7 @@ static const SyFmtInfo aFmt[] = {
/* Ticket 1433-003 */
if( longvalue < 0 ){
/* Overflow */
longvalue= 0x7FFFFFFFFFFFFFFF;
longvalue= SXI64_HIGH;
}
prefix = '-';
}else if( flag_plussign ) prefix = '+';
@ -2805,7 +2805,7 @@ static const SyFmtInfo aFmt[] = {
/* Ticket 1433-003 */
if( longvalue < 0 ){
/* Overflow */
longvalue= 0x7FFFFFFFFFFFFFFF;
longvalue= SXI64_HIGH;
}
}
prefix = 0;


Loading…
Cancel
Save