mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
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.
This commit is contained in:
1 parent
d2e94dfc63
commit
5692fa2ecb
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user