From 381260dfe905878ee05955929b0b8d50aba2c77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 23 Oct 2010 16:15:27 +0200 Subject: [PATCH] fixed 'deprecated conversion' compiler warning --- test/testcppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testcppcheck.cpp b/test/testcppcheck.cpp index f8a878cf4..7b6c4e4a0 100644 --- a/test/testcppcheck.cpp +++ b/test/testcppcheck.cpp @@ -347,7 +347,7 @@ private: void nonexistingpath() { CppCheckExecutor exec; - char *argv[] = { "", "idontexist" }; + const char *argv[] = { "", "idontexist" }; int retval = exec.check(2, argv); ASSERT_EQUALS(retval, EXIT_FAILURE);