Module Name: xsrc
Committed By: christos
Date: Tue Jun 17 03:46:27 UTC 2014
Modified Files:
xsrc/external/mit/xtrap/dist: xtrapin.c xtrapinfo.c xtrapout.c
xtrapproto.c xtrapreset.c xtrapstats.c
Log Message:
Fix "cast from pointer to integer of different size".
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 xsrc/external/mit/xtrap/dist/xtrapin.c \
xsrc/external/mit/xtrap/dist/xtrapinfo.c \
xsrc/external/mit/xtrap/dist/xtrapproto.c \
xsrc/external/mit/xtrap/dist/xtrapreset.c \
xsrc/external/mit/xtrap/dist/xtrapstats.c
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xtrap/dist/xtrapout.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xtrap/dist/xtrapin.c
diff -u xsrc/external/mit/xtrap/dist/xtrapin.c:1.1.1.1 xsrc/external/mit/xtrap/dist/xtrapin.c:1.2
--- xsrc/external/mit/xtrap/dist/xtrapin.c:1.1.1.1 Wed Jul 30 00:39:38 2008
+++ xsrc/external/mit/xtrap/dist/xtrapin.c Mon Jun 16 23:46:27 2014
@@ -173,7 +173,7 @@ main(int argc, char *argv[])
appW = XtAppInitialize(&app,"XTrap",optionTable,(Cardinal)1L,
(int *)&argc, (String *)argv, (String *)NULL,(ArgList)&tmp,
- (Cardinal)NULL);
+ (Cardinal)0);
dpy = XtDisplay(appW);
#ifdef DEBUG
Index: xsrc/external/mit/xtrap/dist/xtrapinfo.c
diff -u xsrc/external/mit/xtrap/dist/xtrapinfo.c:1.1.1.1 xsrc/external/mit/xtrap/dist/xtrapinfo.c:1.2
--- xsrc/external/mit/xtrap/dist/xtrapinfo.c:1.1.1.1 Wed Jul 30 00:39:38 2008
+++ xsrc/external/mit/xtrap/dist/xtrapinfo.c Mon Jun 16 23:46:27 2014
@@ -68,7 +68,7 @@ main(int argc, char *argv[])
/* Connect to Server */
appW = XtAppInitialize(&app,"XTrap",NULL,(Cardinal)0L,
(int *)&argc, (String *)argv, (String *)NULL, (ArgList)&tmp,
- (Cardinal)NULL);
+ (Cardinal)0);
dpy = XtDisplay(appW);
#ifdef DEBUG
XSynchronize(dpy, True);
Index: xsrc/external/mit/xtrap/dist/xtrapproto.c
diff -u xsrc/external/mit/xtrap/dist/xtrapproto.c:1.1.1.1 xsrc/external/mit/xtrap/dist/xtrapproto.c:1.2
--- xsrc/external/mit/xtrap/dist/xtrapproto.c:1.1.1.1 Wed Jul 30 00:39:38 2008
+++ xsrc/external/mit/xtrap/dist/xtrapproto.c Mon Jun 16 23:46:27 2014
@@ -72,7 +72,7 @@ main(int argc, char *argv[])
/* Connect to Server */
appW = XtAppInitialize(&app,"XTrap",NULL,(Cardinal)0L,
(int *)&argc, (String *)argv, (String *)NULL,(ArgList)&tmp,
- (Cardinal)NULL);
+ (Cardinal)0);
dpy = XtDisplay(appW);
printf("Display: %s \n", DisplayString(dpy));
if ((tc = XECreateTC(dpy,0L, NULL)) == False)
Index: xsrc/external/mit/xtrap/dist/xtrapreset.c
diff -u xsrc/external/mit/xtrap/dist/xtrapreset.c:1.1.1.1 xsrc/external/mit/xtrap/dist/xtrapreset.c:1.2
--- xsrc/external/mit/xtrap/dist/xtrapreset.c:1.1.1.1 Wed Jul 30 00:39:38 2008
+++ xsrc/external/mit/xtrap/dist/xtrapreset.c Mon Jun 16 23:46:27 2014
@@ -67,7 +67,7 @@ main(int argc, char *argv[])
/* Connect to Server */
appW = XtAppInitialize(&app,"XTrap",NULL,(Cardinal)0L,
(int *)&argc, (String *)argv, (String *)NULL,(ArgList)&tmp,
- (Cardinal)NULL);
+ (Cardinal)0);
dpy = XtDisplay(appW);
#ifdef DEBUG
XSynchronize(dpy, True);
Index: xsrc/external/mit/xtrap/dist/xtrapstats.c
diff -u xsrc/external/mit/xtrap/dist/xtrapstats.c:1.1.1.1 xsrc/external/mit/xtrap/dist/xtrapstats.c:1.2
--- xsrc/external/mit/xtrap/dist/xtrapstats.c:1.1.1.1 Wed Jul 30 00:39:39 2008
+++ xsrc/external/mit/xtrap/dist/xtrapstats.c Mon Jun 16 23:46:27 2014
@@ -75,7 +75,7 @@ main(int argc, char *argv[])
/* Connect to Server */
appW = XtAppInitialize(&app,"XTrap",NULL,(Cardinal)0L,
(int *)&argc, (String *)argv, (String *)NULL,(ArgList)&tmp,
- (Cardinal)NULL);
+ (Cardinal)0);
dpy = XtDisplay(appW);
#ifdef DEBUG
XSynchronize(dpy, True);
Index: xsrc/external/mit/xtrap/dist/xtrapout.c
diff -u xsrc/external/mit/xtrap/dist/xtrapout.c:1.2 xsrc/external/mit/xtrap/dist/xtrapout.c:1.3
--- xsrc/external/mit/xtrap/dist/xtrapout.c:1.2 Wed Mar 5 16:29:31 2014
+++ xsrc/external/mit/xtrap/dist/xtrapout.c Mon Jun 16 23:46:27 2014
@@ -225,7 +225,7 @@ main(int argc, char *argv[])
appW = XtAppInitialize(&app,"XTrap",optionTable,(Cardinal)2L,
(int *)&argc, (String *)argv, (String *)NULL,(ArgList)&tmp,
- (Cardinal)NULL);
+ (Cardinal)0);
dpy = XtDisplay(appW);
#ifdef DEBUG