aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/v/files/patch-srcx-vcanvas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/v/files/patch-srcx-vcanvas.cxx')
-rw-r--r--x11-toolkits/v/files/patch-srcx-vcanvas.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/v/files/patch-srcx-vcanvas.cxx b/x11-toolkits/v/files/patch-srcx-vcanvas.cxx
new file mode 100644
index 000000000000..4dfaf5a05361
--- /dev/null
+++ b/x11-toolkits/v/files/patch-srcx-vcanvas.cxx
@@ -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
+ }