fixed 'deprecated conversion' compiler warning

This commit is contained in:
Daniel Marjamäki 2010-10-23 16:15:27 +02:00
parent f3c6c64e9a
commit 381260dfe9
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ private:
void nonexistingpath() void nonexistingpath()
{ {
CppCheckExecutor exec; CppCheckExecutor exec;
char *argv[] = { "", "idontexist" }; const char *argv[] = { "", "idontexist" };
int retval = exec.check(2, argv); int retval = exec.check(2, argv);
ASSERT_EQUALS(retval, EXIT_FAILURE); ASSERT_EQUALS(retval, EXIT_FAILURE);