2013-06-12 00:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/gtwvg/wvgcore.c
* contrib/gtwvg/wvgcuig.c
! Fixed to compile for 64 bits, reported by Maurizio, thanks.
This commit is contained in:
Pritpal Bedi
2013-06-12 00:30:55 -07:00
parent e888c83011
commit 0b3e4b6cde
3 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id$
* $Id: bbdb15ce23480752ff235387e66d8cf0a7c2cb0c $
*/
/* Read doc/howtorep.txt and use this format for entry headers:
@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-06-12 00:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgcore.c
* contrib/gtwvg/wvgcuig.c
! Fixed to compile for 64 bits, reported by Maurizio, thanks.
2013-06-11 20:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbpp.h
* src/pp/ppcore.c

View File

@@ -1858,7 +1858,7 @@ HB_FUNC( WVT_DRAWPICTUREEX )
iBottom = xy.y - 1 + hb_parvni( 6, 3 );
iRight = xy.x - 1 + hb_parvni( 6, 4 );
hb_retl( hb_wvt_gtRenderPicture( iLeft, iTop, iRight - iLeft + 1, iBottom - iTop + 1, ( IPicture * ) hb_parnl( 5 ), hb_parl( 7 ) ) );
hb_retl( hb_wvt_gtRenderPicture( iLeft, iTop, iRight - iLeft + 1, iBottom - iTop + 1, ( IPicture * ) ( HB_PTRDIFF ) hb_parnint( 5 ), hb_parl( 7 ) ) );
}
#endif
}

View File

@@ -1305,7 +1305,7 @@ HB_FUNC( WVG_PICTUREEX )
gObj->aOffset.iBottom = hb_parvni( 5, 3 );
gObj->aOffset.iRight = hb_parvni( 5, 4 );
gObj->iPicture = ( IPicture * ) hb_parnl( 6 );
gObj->iPicture = ( IPicture * ) ( HB_PTRDIFF ) hb_parnint( 6 );
gObj->bDestroyPicture = HB_FALSE;
gObj->gObjNext = pWVT->gObjs;