aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2014-12-30 23:14:56 +1100
committerMarkus Heidelberg <markus.heidelberg@web.de>2014-12-30 23:14:56 +1100
commite69043187becc579c51522be752f59df40a82682 (patch)
tree44b1146406aad842699bb99489be24c0898f27eb /src/PositionCache.cxx
parent48bd817720665a2eece35a5d60ed5de79052ba83 (diff)
downloadscintilla-mirror-e69043187becc579c51522be752f59df40a82682.tar.gz
S-Record lexer: extract reusable parts of helper functions
CalcChecksum() takes a parameter to decide between one's or two's complement. The variable "cs" has been changed to "signed int" to simplifiy calculation of the two's complement with signed arithmetic instead of using bitwise operations, which would cause "overflow" warnings in Coverity without additional "& 0xFF" masking.
Diffstat (limited to 'src/PositionCache.cxx')
0 files changed, 0 insertions, 0 deletions