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/fortrancode.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/fortrancode.l')
-rw-r--r-- | src/fortrancode.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index 6b278cc..f8f246a 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -141,7 +141,7 @@ struct fortrancodeYY_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 int inputLines = 0; //!< number of line in the code fragment int yyLineNr = 0; //!< current line number int contLineNr = 0; //!< current, local, line number for continuation determination |