mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix a bug printing out %c formated characters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef35ff066c
commit
2012d5e33f
@ -336,7 +336,7 @@ GenericValue lle_X_sprintf(FunctionType *M, const vector<GenericValue> &Args) {
|
||||
case '%':
|
||||
sprintf(Buffer, FmtBuf); break;
|
||||
case 'c':
|
||||
sprintf(Buffer, FmtBuf, Args[ArgNo++].SByteVal); break;
|
||||
sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal); break;
|
||||
case 'd': case 'i':
|
||||
case 'u': case 'o':
|
||||
case 'x': case 'X':
|
||||
|
Loading…
Reference in New Issue
Block a user