From da8c267316512436ba19f28fa42510be305093f6 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 30 Oct 2014 16:03:47 +0100 Subject: ICE-5804 - Warnings when building with GCC (Eliminate C style casts) --- cpp/src/slice2cs/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/slice2cs/Main.cpp') diff --git a/cpp/src/slice2cs/Main.cpp b/cpp/src/slice2cs/Main.cpp index 2daf35e928d..1491f28bc18 100644 --- a/cpp/src/slice2cs/Main.cpp +++ b/cpp/src/slice2cs/Main.cpp @@ -103,7 +103,7 @@ compile(int argc, char* argv[]) vector args; try { - args = opts.parse(argc, (const char**)argv); + args = opts.parse(argc, const_cast(argv)); } catch(const IceUtilInternal::BadOptException& e) { -- cgit v1.2.3