diff options
| author | Zachary Turner <zturner@google.com> | 2015-02-25 19:52:41 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-02-25 19:52:41 +0000 |
| commit | 49be160531053ba001f0337951572ea9de064eb9 (patch) | |
| tree | a4a43bc960f558bc8d58b7fcc972d63db3a4eda1 /lldb/source/Host/windows/EditLineWin.cpp | |
| parent | 8f12ce082508a700c463f186da67a36cfea7d568 (diff) | |
| download | bcm5719-llvm-49be160531053ba001f0337951572ea9de064eb9.tar.gz bcm5719-llvm-49be160531053ba001f0337951572ea9de064eb9.zip | |
Revert "Fix warnings found with clang-cl."
SWIG doesn't like enum : unsigned. Revert this until I can
fix this in a way that swig likes.
llvm-svn: 230531
Diffstat (limited to 'lldb/source/Host/windows/EditLineWin.cpp')
| -rw-r--r-- | lldb/source/Host/windows/EditLineWin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/windows/EditLineWin.cpp b/lldb/source/Host/windows/EditLineWin.cpp index 49f7def5976..6bd7e161cd0 100644 --- a/lldb/source/Host/windows/EditLineWin.cpp +++ b/lldb/source/Host/windows/EditLineWin.cpp @@ -247,10 +247,10 @@ el_set (EditLine *el, int code, ...) // get the function pointer from the arg list void *func_vp = (void*)va_arg(vl, el_prompt_func); - va_arg(vl, int); + char escape = (char)va_arg(vl, int); // call to get the prompt as a string el_prompt_func func_fp = (el_prompt_func)func_vp; - func_fp(el); + const char *newPrompt = func_fp(el); } break; |

