2017-11-14 19:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbmzip/mzip.c
* use 'char *' instead of 'zipcharpc' to compile with minizip versions
which do not define 'zipcharpc' type
This commit is contained in:
@@ -7,6 +7,11 @@
|
||||
Entries may not always be in chronological/commit order.
|
||||
See license at the end of file. */
|
||||
|
||||
2017-11-14 19:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* contrib/hbmzip/mzip.c
|
||||
* use 'char *' instead of 'zipcharpc' to compile with minizip versions
|
||||
which do not define 'zipcharpc' type
|
||||
|
||||
2017-10-18 10:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* contrib/hbwin/hbwin.ch
|
||||
* contrib/hbwin/hbwin.hbx
|
||||
|
||||
@@ -237,10 +237,10 @@ HB_FUNC( HB_ZIPOPEN )
|
||||
|
||||
if( szFileName )
|
||||
{
|
||||
zipcharpc pszGlobalComment = NULL;
|
||||
char * pszFree;
|
||||
zipFile hZip = zipOpen2( hb_fsNameConv( szFileName, &pszFree ), hb_parnidef( 2, APPEND_STATUS_CREATE ),
|
||||
&pszGlobalComment, NULL );
|
||||
const char * pszGlobalComment = NULL;
|
||||
char * pszFree;
|
||||
zipFile hZip = zipOpen2( hb_fsNameConv( szFileName, &pszFree ), hb_parnidef( 2, APPEND_STATUS_CREATE ),
|
||||
&pszGlobalComment, NULL );
|
||||
|
||||
if( pszFree )
|
||||
hb_xfree( pszFree );
|
||||
@@ -253,7 +253,7 @@ HB_FUNC( HB_ZIPOPEN )
|
||||
hb_retptrGC( phZip );
|
||||
|
||||
if( pszGlobalComment )
|
||||
hb_storc( ( const char * ) pszGlobalComment, 3 );
|
||||
hb_storc( pszGlobalComment, 3 );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user