Fix build on 64bit platforms
This commit is contained in:
parent
0544a4fe18
commit
1850d0780f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196854
20
x11-toolkits/v/files/patch-srcx-vcanvas.cxx
Normal file
20
x11-toolkits/v/files/patch-srcx-vcanvas.cxx
Normal file
@ -0,0 +1,20 @@
|
||||
--- srcx/vcanvas.cxx.orig 2007-07-31 22:24:59.000000000 +0200
|
||||
+++ srcx/vcanvas.cxx 2007-07-31 22:25:47.000000000 +0200
|
||||
@@ -1326,7 +1326,7 @@
|
||||
}
|
||||
}
|
||||
#else
|
||||
- int pos = (int)position;
|
||||
+ intptr_t pos = (intptr_t)position;
|
||||
((vCanvasPane*)This)->HScrollProcCB(pos);
|
||||
#endif
|
||||
}
|
||||
@@ -1365,7 +1365,7 @@
|
||||
}
|
||||
}
|
||||
#else
|
||||
- int pos = (int)position;
|
||||
+ intptr_t pos = (intptr_t)position;
|
||||
((vCanvasPane*)This)->VScrollProcCB(pos);
|
||||
#endif
|
||||
}
|
11
x11-toolkits/v/files/patch-srcx-vlistcc.cxx
Normal file
11
x11-toolkits/v/files/patch-srcx-vlistcc.cxx
Normal file
@ -0,0 +1,11 @@
|
||||
--- srcx/vlistc.cxx.orig 2007-07-31 22:27:03.000000000 +0200
|
||||
+++ srcx/vlistc.cxx 2007-07-31 22:28:09.000000000 +0200
|
||||
@@ -676,7 +676,7 @@
|
||||
//============================>>> CScollProcCB <<<=============================
|
||||
void CScrollProcCB(Widget w, XtPointer This, XtPointer position)
|
||||
{
|
||||
- int pos = (int)position;
|
||||
+ intptr_t pos = (intptr_t)position;
|
||||
((vListCmd*)This)->ScrollProcCB(pos);
|
||||
}
|
||||
#endif // Athena only
|
11
x11-toolkits/v/files/patch-srcx-vsliderc.cxx
Normal file
11
x11-toolkits/v/files/patch-srcx-vsliderc.cxx
Normal file
@ -0,0 +1,11 @@
|
||||
--- srcx/vsliderc.cxx.orig 2007-07-31 22:29:12.000000000 +0200
|
||||
+++ srcx/vsliderc.cxx 2007-07-31 22:29:56.000000000 +0200
|
||||
@@ -402,7 +402,7 @@
|
||||
//============================>>> CScollProcCB <<<=============================
|
||||
void CSliderScrollProcCB(Widget w, XtPointer This, XtPointer position)
|
||||
{
|
||||
- int pos = (int)position;
|
||||
+ intptr_t pos = (intptr_t)position;
|
||||
((vSliderCmd*)This)->ScrollProcCB(pos);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user