diff --git a/harbour/ChangeLog b/harbour/ChangeLog index bdbe798bb1..6aa97e73f0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-10-21 11:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/directx/w32_ddrw.cpp + ! Fixed two -w warnings left. + 2007-10-21 02:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/set.c ! Fixed SET DEVICE TO PRINTER not to add an extension (".prn") diff --git a/harbour/contrib/directx/w32_ddrw.cpp b/harbour/contrib/directx/w32_ddrw.cpp index 69255c4b63..15432d95e7 100644 --- a/harbour/contrib/directx/w32_ddrw.cpp +++ b/harbour/contrib/directx/w32_ddrw.cpp @@ -66,7 +66,7 @@ long Width; // width of one frame long Height; // height of one frame long Images; // Number of frames in Surface - short int Visible; // Render it and do Hit detect? + BOOL Visible; // Render it and do Hit detect? long Frame; // Actual Frame to Render long zOrder; // For painting long x; // x in Virtual Screen @@ -142,7 +142,7 @@ HB_FUNC( HB_DD_SPSETVISIBLE ) { - hb_dd_Sprites[ hb_parnl( 1 ) ].Visible = hb_parl( 2 ); + hb_dd_Sprites[ hb_parnl( 1 ) ].Visible = ( int ) hb_parl( 2 ); } //------------------------------------------------------------------//