diff options
| author | Dan Gohman <gohman@apple.com> | 2007-12-14 15:41:34 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-12-14 15:41:34 +0000 |
| commit | 8a332b235db5863e7b1ea87bdf7ae791b1c4f1f5 (patch) | |
| tree | c045f7b661a5eff21c37d5cec59854a8f9afc991 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
| parent | 11352df8e42037dd5f8df9a00572793a10bf986a (diff) | |
| download | bcm5719-llvm-8a332b235db5863e7b1ea87bdf7ae791b1c4f1f5.tar.gz bcm5719-llvm-8a332b235db5863e7b1ea87bdf7ae791b1c4f1f5.zip | |
Add explicit keywords, and fix a minor typo that they uncovered.
llvm-svn: 45034
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index f45875faa38..4e9b77be84f 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -653,7 +653,7 @@ GenericValue lle_X_fwrite(FunctionType *FT, const vector<GenericValue> &Args) { // char *fgets(char *s, int n, FILE *stream); GenericValue lle_X_fgets(FunctionType *FT, const vector<GenericValue> &Args) { assert(Args.size() == 3); - return GVTOP(fgets((char*)GVTOP(Args[0]), Args[1].IntVal.getZExtValue(), + return PTOGV(fgets((char*)GVTOP(Args[0]), Args[1].IntVal.getZExtValue(), getFILE(GVTOP(Args[2])))); } |

