diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2014-12-30 23:14:56 +1100 |
---|---|---|
committer | Markus Heidelberg <markus.heidelberg@web.de> | 2014-12-30 23:14:56 +1100 |
commit | 0eb2e4f448bf30d67681c5bb2a429c851e9bbf10 (patch) | |
tree | fe295e8101df7bb8cdfdbc3a0127349787bfec9f /include/SciLexer.h | |
parent | a6783775d02522b9488507031f84363b40d85229 (diff) | |
download | scintilla-mirror-0eb2e4f448bf30d67681c5bb2a429c851e9bbf10.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 'include/SciLexer.h')
0 files changed, 0 insertions, 0 deletions