aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorkobake <[email protected]>2017-03-08 05:19:31 +0900
committerkobake <[email protected]>2017-03-08 15:43:40 +0900
commit8e0720bdb9141b00b4c00893b8139904c67ddacf (patch)
treea0fdfa9c31529ef96c21805bf079f3c4a8b129a7 /src/httpserver.cpp
parentFix msvc compiler error C4146 (minus operator applied to unsigned type) (diff)
downloaddiscoin-8e0720bdb9141b00b4c00893b8139904c67ddacf.tar.xz
discoin-8e0720bdb9141b00b4c00893b8139904c67ddacf.zip
Fix msvc compiler error C4146 (unary minus operator applied to unsigned type)
On msvc14, int literal '-2147483648' is invalid, because '2147483648' is unsigned type and cant't apply minus operator to unsigned type. To define the int literal correctly, use '-2147483647 - 1' formula that is also used to define INT_MIN in limits.h.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions