summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-20 16:04:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-20 16:04:28 (GMT)
commitc261c5eae9f831567775d7ad63f22436bdfac3aa (patch)
tree3d6e7e87f25433c4ef217549dad354a8fa6a7169 /src/code.l
parent33341fe5fb8048411acea0276219a69be06fe02d (diff)
downloadDoxygen-c261c5eae9f831567775d7ad63f22436bdfac3aa.zip
Doxygen-c261c5eae9f831567775d7ad63f22436bdfac3aa.tar.gz
Doxygen-c261c5eae9f831567775d7ad63f22436bdfac3aa.tar.bz2
Remove warnings from lexers
Remove warnings (Windows 64 bit compilation) like: ``` warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data ``` from the different lexers by making use of more consistent data types.
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 6308dff..fbadd27 100644
--- a/src/code.l
+++ b/src/code.l
@@ -101,7 +101,7 @@ struct codeYY_state
yy_size_t inputPosition = 0; //!< read offset during parsing
int inputLines = 0; //!< number of line in the code fragment
int yyLineNr = 0; //!< current line number
- int yyColNr = 0; //!< current column number
+ yy_size_t yyColNr = 0; //!< current column number
bool needsTermination = FALSE;
bool exampleBlock = FALSE;