mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Get rid of compilation warning messages
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
arguments[i] = NULL;
|
||||
|
||||
err = AuthorizationExecuteWithPrivileges (authorizationRef, toolPath,
|
||||
kAuthorizationFlagDefaults, arguments, &ioPipe);
|
||||
kAuthorizationFlagDefaults, (char*const*)arguments, &ioPipe);
|
||||
if (err != errAuthorizationSuccess)
|
||||
goto cleanup;
|
||||
|
||||
|
||||
@@ -1152,7 +1152,7 @@ executeInLoginShell(NSString *path, NSArray *args)
|
||||
|
||||
// Get the C string representation of the shell path before the fork since
|
||||
// we must not call Foundation functions after a fork.
|
||||
char *shellPath = [shell fileSystemRepresentation];
|
||||
const char *shellPath = [shell fileSystemRepresentation];
|
||||
|
||||
// Fork and execute the process.
|
||||
int ds[2];
|
||||
|
||||
Reference in New Issue
Block a user