More minor build fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105706 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectArgs.cpp b/source/Commands/CommandObjectArgs.cpp
index 7f1fd3d..5e432d7 100644
--- a/source/Commands/CommandObjectArgs.cpp
+++ b/source/Commands/CommandObjectArgs.cpp
@@ -173,7 +173,7 @@
void *type;
char *int_pos;
- if ((int_pos = strstr (arg_type_cstr, "int")))
+ if ((int_pos = strstr (const_cast<char*>(arg_type_cstr), "int")))
{
Encoding encoding = eEncodingSint;
diff --git a/source/Commands/CommandObjectBreakpoint.h b/source/Commands/CommandObjectBreakpoint.h
index 4900743..85a035f 100644
--- a/source/Commands/CommandObjectBreakpoint.h
+++ b/source/Commands/CommandObjectBreakpoint.h
@@ -57,7 +57,7 @@
eSetTypeFileAndLine,
eSetTypeAddress,
eSetTypeFunctionName,
- eSetTypeFunctionRegexp,
+ eSetTypeFunctionRegexp
} BreakpointSetType;
CommandObjectBreakpointSet ();
diff --git a/source/Commands/CommandObjectQuit.cpp b/source/Commands/CommandObjectQuit.cpp
index b66f4b1..23aee3b 100644
--- a/source/Commands/CommandObjectQuit.cpp
+++ b/source/Commands/CommandObjectQuit.cpp
@@ -13,8 +13,8 @@
// C++ Includes
// Other libraries and framework includes
// Project includes
-#include "CommandInterpreter.h"
-#include "CommandReturnObject.h"
+#include "lldb/Interpreter/CommandInterpreter.h"
+#include "lldb/Interpreter/CommandReturnObject.h"
using namespace lldb;
using namespace lldb_private;
diff --git a/source/Commands/CommandObjectTranslate.cpp b/source/Commands/CommandObjectTranslate.cpp
index 48a1062..88f5327 100644
--- a/source/Commands/CommandObjectTranslate.cpp
+++ b/source/Commands/CommandObjectTranslate.cpp
@@ -59,7 +59,7 @@
}
else
{
- result.AppendErrroWithFormat
+ result.AppendErrorWithFormat
("'%s' is not a known command.\nTry 'help' to see a current list of commands.\n",
command.GetArgumentAtIndex(0));
result.SetStatus (eReturnStatusFailed);