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:
Brad King 2009-07-09 14:15:35 -04:00
parent d2e94dfc63
commit 5692fa2ecb
1 changed files with 1 additions and 1 deletions

View File

@ -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