Changeset 698 for cpp/frams/util


Ignore:
Timestamp:
09/18/17 02:32:47 (7 years ago)
Author:
Maciej Komosinski
Message:

Explicit cast to signed integer before applying negation, this is a more proper notation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/util/extvalue.cpp

    r639 r698  
    10351035                                setDouble(minus ? -(double)intvalue : (double)intvalue);
    10361036                        else
    1037                                 setInt(minus ? -intvalue : intvalue);
     1037                                setInt(minus ? -(paInt)intvalue : (paInt)intvalue);
    10381038                        return after;
    10391039                }
Note: See TracChangeset for help on using the changeset viewer.