From eb0e2aec7414c32b714b3754dbc8fdc7c15cd80d Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Thu, 29 Nov 2001 19:29:11 +0000 Subject: [PATCH] msvc required type cast added --- harbour/source/rtl/philes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/harbour/source/rtl/philes.c b/harbour/source/rtl/philes.c index 50c666f20c..0084780113 100644 --- a/harbour/source/rtl/philes.c +++ b/harbour/source/rtl/philes.c @@ -177,7 +177,7 @@ HB_FUNC( FSEEK ) HB_FUNC( FILE ) { - hb_retl( ISCHAR( 1 ) ? hb_spFile( hb_parc( 1 ) ) : FALSE ); + hb_retl( ISCHAR( 1 ) ? hb_spFile( ( unsigned char * ) hb_parc( 1 ) ) : FALSE ); } HB_FUNC( FREADSTR ) @@ -243,4 +243,3 @@ HB_FUNC( HB_F_EOF ) } #endif -