diff options
author | albert-github <albert.tests@gmail.com> | 2020-10-20 16:04:28 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-10-20 16:04:28 (GMT) |
commit | c261c5eae9f831567775d7ad63f22436bdfac3aa (patch) | |
tree | 3d6e7e87f25433c4ef217549dad354a8fa6a7169 /src/xmlcode.l | |
parent | 33341fe5fb8048411acea0276219a69be06fe02d (diff) | |
download | Doxygen-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/xmlcode.l')
-rw-r--r-- | src/xmlcode.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlcode.l b/src/xmlcode.l index c91a00e..c7322cb 100644 --- a/src/xmlcode.l +++ b/src/xmlcode.l @@ -56,7 +56,7 @@ struct xmlcodeYY_state QCString parmType; QCString parmName; const char * inputString = 0; //!< the code fragment as text - int inputPosition = 0; //!< read offset during parsing + 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 bool needsTermination = false; |