1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

Fix vcl build on amd64.

Approved by:	maho (amd64 porting blanket)
This commit is contained in:
Jung-uk Kim 2007-07-17 16:06:33 +00:00
parent a9e2cb7ca8
commit 4cd7f2ba4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195808
4 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- vcl/source/window/winproc.cxx 5 Jul 2007 08:44:18 -0000 1.114
+++ vcl/source/window/winproc.cxx 12 Jul 2007 13:32:22 -0000 1.115
@@ -2534,7 +2534,7 @@
break;
case SALEVENT_SHOWDIALOG:
{
- int nDialogID = reinterpret_cast<int>(pEvent);
+ int nDialogID = static_cast<int>(reinterpret_cast<sal_IntPtr>(pEvent));
nRet = ImplHandleShowDialog( pWindow, nDialogID );
}
break;

View File

@ -0,0 +1,11 @@
--- vcl/source/window/winproc.cxx 5 Jul 2007 08:44:18 -0000 1.114
+++ vcl/source/window/winproc.cxx 12 Jul 2007 13:32:22 -0000 1.115
@@ -2534,7 +2534,7 @@
break;
case SALEVENT_SHOWDIALOG:
{
- int nDialogID = reinterpret_cast<int>(pEvent);
+ int nDialogID = static_cast<int>(reinterpret_cast<sal_IntPtr>(pEvent));
nRet = ImplHandleShowDialog( pWindow, nDialogID );
}
break;

View File

@ -0,0 +1,11 @@
--- vcl/source/window/winproc.cxx 5 Jul 2007 08:44:18 -0000 1.114
+++ vcl/source/window/winproc.cxx 12 Jul 2007 13:32:22 -0000 1.115
@@ -2534,7 +2534,7 @@
break;
case SALEVENT_SHOWDIALOG:
{
- int nDialogID = reinterpret_cast<int>(pEvent);
+ int nDialogID = static_cast<int>(reinterpret_cast<sal_IntPtr>(pEvent));
nRet = ImplHandleShowDialog( pWindow, nDialogID );
}
break;

View File

@ -0,0 +1,11 @@
--- vcl/source/window/winproc.cxx 5 Jul 2007 08:44:18 -0000 1.114
+++ vcl/source/window/winproc.cxx 12 Jul 2007 13:32:22 -0000 1.115
@@ -2534,7 +2534,7 @@
break;
case SALEVENT_SHOWDIALOG:
{
- int nDialogID = reinterpret_cast<int>(pEvent);
+ int nDialogID = static_cast<int>(reinterpret_cast<sal_IntPtr>(pEvent));
nRet = ImplHandleShowDialog( pWindow, nDialogID );
}
break;