2010-01-26 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/win_bmpd.c
    ! Pacified BCC warnings.
This commit is contained in:
Viktor Szakats
2010-01-26 21:20:24 +00:00
parent 678a54d477
commit 49c6f64f5a
2 changed files with 10 additions and 6 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-26 22:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_bmpd.c
! Pacified BCC warnings.
2010-01-26 20:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Deleted one debug line left in previous commit.

View File

@@ -84,13 +84,13 @@ static int hb_jpeg_get_param( const HB_BYTE * buffer, HB_SIZE nBufferSize, int *
HB_BYTE bpc = 0;
if( piHeight )
*piHeight = 0;
*piHeight = ( int ) height;
if( piWidth )
*piWidth = 0;
*piWidth = ( int ) width;
if( piColorSpace )
*piColorSpace = 0;
*piColorSpace = ( int ) colorspace;
if( piBPC )
*piBPC = 0;
*piBPC = ( int ) bpc;
if( nPos >= nBufferSize )
return _JPEG_RET_OVERRUN;
@@ -139,7 +139,7 @@ static int hb_jpeg_get_param( const HB_BYTE * buffer, HB_SIZE nBufferSize, int *
if( nPos >= nBufferSize )
return _JPEG_RET_OVERRUN;
bpc = *( buffer + nPos ); nPos += 1;
bpc = *( buffer + nPos ); /* nPos += 1; */
break;
}
@@ -245,7 +245,7 @@ static int hb_png_get_param( const HB_BYTE * buffer, HB_SIZE nBufferSize, int *
hb_png_read_data.bOk = HB_TRUE;
png_set_sig_bytes( png_ptr, sizeof( header ) );
png_set_read_fn( png_ptr, ( void * ) &hb_png_read_data, ( png_rw_ptr ) &hb_png_read_func );
png_set_read_fn( png_ptr, ( void * ) &hb_png_read_data, ( png_rw_ptr ) hb_png_read_func );
png_read_info( png_ptr, info_ptr );