Cast NULL sentinel to void * to make sure it's 64-bit on 64-bit architectures
This commit is contained in:
parent
8d1504de22
commit
26cf1d617f
12
x11/kde/libs3/patches/patch-kdecore_kapplication_cpp
Normal file
12
x11/kde/libs3/patches/patch-kdecore_kapplication_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-kdecore_kapplication_cpp,v 1.1 2003/03/01 06:25:19 pvalchev Exp $
|
||||
--- kdecore/kapplication.cpp.orig Fri Feb 28 20:00:35 2003
|
||||
+++ kdecore/kapplication.cpp Fri Feb 28 20:00:54 2003
|
||||
@@ -749,7 +749,7 @@ static int my_system (const char *comman
|
||||
return -1;
|
||||
if (pid == 0) {
|
||||
const char* shell = "/bin/sh";
|
||||
- execl(shell, shell, "-c", command, 0L);
|
||||
+ execl(shell, shell, "-c", command, (void *)NULL);
|
||||
::exit(127);
|
||||
}
|
||||
do {
|
Loading…
Reference in New Issue
Block a user