From 7cfb40c93710c64a9f4ab08ace96bb27103807c7 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Sat, 21 Feb 2009 15:29:36 +0000 Subject: [PATCH] 2009-02-21 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvggui.c ! Pacified warnings on 64 bits. --- harbour/ChangeLog | 5 +++++ harbour/contrib/gtwvg/gtwvg.c | 6 +++--- harbour/contrib/gtwvg/wvggui.c | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4c33424212..f02a89e6c3 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-21 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * harbour/contrib/gtwvg/gtwvg.c + * harbour/contrib/gtwvg/wvggui.c + ! Pacified warnings on 64 bits. + 2009-02-21 07:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgdarea.prg diff --git a/harbour/contrib/gtwvg/gtwvg.c b/harbour/contrib/gtwvg/gtwvg.c index f204f16a0f..8feaac093e 100644 --- a/harbour/contrib/gtwvg/gtwvg.c +++ b/harbour/contrib/gtwvg/gtwvg.c @@ -3335,7 +3335,7 @@ static BOOL hb_gt_wvt_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { RECT rect = { 0,0,0,0 }; GetWindowRect( pWVT->hWnd, &rect ); - hb_retl( SetWindowPos( pWVT->hWnd, HWND_TOPMOST, + hb_retl( SetWindowPos( pWVT->hWnd, ( HWND ) HWND_TOPMOST, rect.left, rect.top, 0, @@ -3347,7 +3347,7 @@ static BOOL hb_gt_wvt_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { RECT rect = { 0,0,0,0 }; GetWindowRect( pWVT->hWnd, &rect ); - hb_retl( SetWindowPos( pWVT->hWnd, HWND_NOTOPMOST, + hb_retl( SetWindowPos( pWVT->hWnd, ( HWND ) HWND_NOTOPMOST, rect.left, rect.top, 0, @@ -4233,7 +4233,7 @@ static void hb_wvt_gtCreateToolTipWindow( PHB_GTWVT pWVT ) pWVT->hInstance, NULL ); SetWindowPos( hwndTT, - HWND_TOPMOST, + ( HWND ) HWND_TOPMOST, 0, 0, 0, diff --git a/harbour/contrib/gtwvg/wvggui.c b/harbour/contrib/gtwvg/wvggui.c index 13349a2424..79220226f0 100644 --- a/harbour/contrib/gtwvg/wvggui.c +++ b/harbour/contrib/gtwvg/wvggui.c @@ -2036,7 +2036,7 @@ static BOOL hb_gt_wvt_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { RECT rect = { 0,0,0,0 }; GetWindowRect( pWVT->hWnd, &rect ); - hb_retl( SetWindowPos( pWVT->hWnd, HWND_TOPMOST, + hb_retl( SetWindowPos( pWVT->hWnd, ( HWND ) HWND_TOPMOST, rect.left, rect.top, 0, @@ -2048,7 +2048,7 @@ static BOOL hb_gt_wvt_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { RECT rect = { 0,0,0,0 }; GetWindowRect( pWVT->hWnd, &rect ); - hb_retl( SetWindowPos( pWVT->hWnd, HWND_NOTOPMOST, + hb_retl( SetWindowPos( pWVT->hWnd, ( HWND ) HWND_NOTOPMOST, rect.left, rect.top, 0,