aboutsummaryrefslogtreecommitdiffstats
path: root/community/wbar/Main.patch
blob: 8d1259ebfa06a110489672c56a818014d93f51df (plain)
1
2
3
4
5
6
7
8
9
10
11
--- wbar-2.3.4/src/core/Main.cc	2012-09-18 02:26:41.000000000 +0000
+++ ../../Main.modified	2015-12-15 15:30:14.362095758 +0000
@@ -326,7 +326,7 @@
                 	{
                     	    if (fork()==0)
                     	    {
-                        	if (execlp("sh", "sh", "-c", barra->iconCommand(inum).c_str(), NULL) != 0)
+                        	if (execlp("sh", "sh", "-c", barra->iconCommand(inum).c_str(), (void *)NULL) != 0)
                         	{
                             	    std::cout << _("Error run program: ") << barra->iconCommand(inum) << std::endl;
                         	}