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/pycode.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/pycode.l')
-rw-r--r-- | src/pycode.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pycode.l b/src/pycode.l index bcba42f..dcba4dd 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -72,7 +72,7 @@ struct pycodeYY_state CodeOutputInterface * code = 0; 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 const char * currentFontClass = 0; bool needsTermination = FALSE; const Definition *searchCtx = 0; |