More minor build fixes.

llvm-svn: 105706
This commit is contained in:
Eli Friedman
2010-06-09 07:57:51 +00:00
parent ebb81beb1e
commit 59817b1d56
4 changed files with 5 additions and 5 deletions

View File

@@ -173,7 +173,7 @@ CommandObjectArgs::Execute(Args &command,
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;

View File

@@ -57,7 +57,7 @@ public:
eSetTypeFileAndLine,
eSetTypeAddress,
eSetTypeFunctionName,
eSetTypeFunctionRegexp,
eSetTypeFunctionRegexp
} BreakpointSetType;
CommandObjectBreakpointSet ();

View File

@@ -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;

View File

@@ -59,7 +59,7 @@ CommandObjectTranslate::Execute
}
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);