File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1712,10 +1712,10 @@ void CMainDocument::KillGraphicsApp(int pid) {
1712
1712
1713
1713
if (g_use_sandbox) {
1714
1714
snprintf (thePIDbuf, sizeof (thePIDbuf), " %d" , pid);
1715
- argv[0 ] = ( char *) " switcher" ;
1716
- argv[1 ] = ( char *) " /bin/kill" ;
1717
- argv[2 ] = ( char *) " kill" ;
1718
- argv[3 ] = ( char *) " -KILL" ;
1715
+ argv[0 ] = " switcher" ;
1716
+ argv[1 ] = " /bin/kill" ;
1717
+ argv[2 ] = " kill" ;
1718
+ argv[3 ] = " -KILL" ;
1719
1719
argv[4 ] = thePIDbuf;
1720
1720
argv[5 ] = 0 ;
1721
1721
@@ -1767,7 +1767,7 @@ int CMainDocument::WorkShowGraphics(RESULT* rp) {
1767
1767
#ifndef __WXMSW__
1768
1768
char * argv[4 ];
1769
1769
1770
- argv[0 ] = ( char *) " switcher" ;
1770
+ argv[0 ] = " switcher" ;
1771
1771
// For unknown reasons on Macs, the graphics application
1772
1772
// exits with "RegisterProcess failed (error = -50)" unless
1773
1773
// we pass its full path twice in the argument list to execv.
You can’t perform that action at this time.
0 commit comments