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.
|
Entries may not always be in chronological/commit order.
|
||||||
See license at the end of file. */
|
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)
|
2017-10-18 10:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||||
* contrib/hbwin/hbwin.ch
|
* contrib/hbwin/hbwin.ch
|
||||||
* contrib/hbwin/hbwin.hbx
|
* contrib/hbwin/hbwin.hbx
|
||||||
|
|||||||
@@ -237,10 +237,10 @@ HB_FUNC( HB_ZIPOPEN )
|
|||||||
|
|
||||||
if( szFileName )
|
if( szFileName )
|
||||||
{
|
{
|
||||||
zipcharpc pszGlobalComment = NULL;
|
const char * pszGlobalComment = NULL;
|
||||||
char * pszFree;
|
char * pszFree;
|
||||||
zipFile hZip = zipOpen2( hb_fsNameConv( szFileName, &pszFree ), hb_parnidef( 2, APPEND_STATUS_CREATE ),
|
zipFile hZip = zipOpen2( hb_fsNameConv( szFileName, &pszFree ), hb_parnidef( 2, APPEND_STATUS_CREATE ),
|
||||||
&pszGlobalComment, NULL );
|
&pszGlobalComment, NULL );
|
||||||
|
|
||||||
if( pszFree )
|
if( pszFree )
|
||||||
hb_xfree( pszFree );
|
hb_xfree( pszFree );
|
||||||
@@ -253,7 +253,7 @@ HB_FUNC( HB_ZIPOPEN )
|
|||||||
hb_retptrGC( phZip );
|
hb_retptrGC( phZip );
|
||||||
|
|
||||||
if( pszGlobalComment )
|
if( pszGlobalComment )
|
||||||
hb_storc( ( const char * ) pszGlobalComment, 3 );
|
hb_storc( pszGlobalComment, 3 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user