diff options
author | Brad King <brad.king@kitware.com> | 2009-07-09 18:15:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-09 18:15:35 (GMT) |
commit | 5692fa2ecb6f28b3e3795133e2deead5c339dbbb (patch) | |
tree | ae712de25e8c557a31f70b965e023fe93da8f4d0 /Source | |
parent | d2e94dfc63cabd6afa0ff1a52821f8747f94f722 (diff) | |
download | CMake-5692fa2ecb6f28b3e3795133e2deead5c339dbbb.zip CMake-5692fa2ecb6f28b3e3795133e2deead5c339dbbb.tar.gz CMake-5692fa2ecb6f28b3e3795133e2deead5c339dbbb.tar.bz2 |
COMP: More KWSys SharedForward pointer const-ness
This adds another cast to avoid pointer conversion warnings.
Unfortunately C does not recognize implicit conversions that add
cv-qualifiers as well as C++ does.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SharedForward.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SharedForward.h.in b/Source/kwsys/SharedForward.h.in index dd4db55..8163683 100644 --- a/Source/kwsys/SharedForward.h.in +++ b/Source/kwsys/SharedForward.h.in @@ -507,7 +507,7 @@ static void kwsys_shared_forward_execvp(const char* cmd, nargv[argc] = 0; /* Replace the command line to be used. */ - argv = nargv; + argv = (char const* const*)nargv; } #endif |