Skip to content

Commit

Permalink
'%u' causes warning messages on 64bit systems.
Browse files Browse the repository at this point in the history
  • Loading branch information
achpile committed Jul 26, 2014
1 parent 4cafe43 commit a17fd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/antlr-2.7.7/src/String.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_USE_NAMESPACE(std)string&
ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_USE_NAMESPACE(std)string& lhs, size_t rhs )
{
char tmp[100];
sprintf(tmp,"%u",rhs);
sprintf(tmp,"%zu",rhs);
return lhs+tmp;
}

Expand Down

0 comments on commit a17fd09

Please sign in to comment.