summaryrefslogtreecommitdiff
path: root/x11/xforward/files/patch-xforward.c
blob: db2694922755966bcc772359069f5e2b51566b5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- xforward.c.orig	1993-06-04 19:30:16.000000000 -0700
+++ xforward.c	2023-02-14 20:42:29.724713000 -0800
@@ -292,7 +292,7 @@
 	struct timeval timeout;
 	struct pend_conn *cur,*prev;
 	pid_t temppid;
-	union wait wstatus;
+	int wstatus;
 	int exitstat,wopts,newoutgoing;
 
 	/* for each entry, call waitpid */
@@ -525,7 +525,7 @@
 			app_con = XtCreateApplicationContext();
 			dpy = XtOpenDisplay(app_con,disp_str,NULL,"Xforward",
 					    NULL,0,&argc,argv);
-			topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL,NULL);
+			topshell = XtAppCreateShell(NULL,"Xforward",applicationShellWidgetClass, dpy, NULL, (Cardinal)NULL);
 			sprintf(dialog_message,"Allow X connection from %s ?",
 				okhost_names[i]);
 			msg_str = XmStringCreateSimple(dialog_message);