diff options
| author | Neil <nyamatongwe@gmail.com> | 2017-06-22 14:21:02 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2017-06-22 14:21:02 +1000 | 
| commit | a5b76b15da6f866499617cb937bdeb3a3c6c12df (patch) | |
| tree | 979e9d6e901956a1845ac731b0b9ab3c611319e1 /lexers/LexModula.cxx | |
| parent | e5c2492d33ac318758dcbf3252cdaef53ce3e176 (diff) | |
| download | scintilla-mirror-a5b76b15da6f866499617cb937bdeb3a3c6c12df.tar.gz | |
Backport: Fix printf formatting with correct format specifier and cast to allow argument
be 64-bit.
Backport of changeset 6322:66c53eeaabd3.
Diffstat (limited to 'lexers/LexModula.cxx')
| -rw-r--r-- | lexers/LexModula.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lexers/LexModula.cxx b/lexers/LexModula.cxx index c71cdd0ce..583cbe38a 100644 --- a/lexers/LexModula.cxx +++ b/lexers/LexModula.cxx @@ -34,7 +34,7 @@ using namespace Scintilla;  #ifdef DEBUG_LEX_MODULA  #define DEBUG_STATE( p, c )\ -		fprintf( stderr, "Unknown state: currentPos = %ud, char = '%c'\n", p, c ); +		fprintf( stderr, "Unknown state: currentPos = %u, char = '%c'\n", static_cast<unsigned int>(p), c );  #else  #define DEBUG_STATE( p, c )  #endif | 
