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:
Przemysław Czerpak
2017-11-14 19:44:22 +01:00
parent 390711bd22
commit 3bb0f06ec9
2 changed files with 10 additions and 5 deletions

View File

@@ -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

View File

@@ -237,7 +237,7 @@ HB_FUNC( HB_ZIPOPEN )
if( szFileName )
{
zipcharpc pszGlobalComment = NULL;
const char * pszGlobalComment = NULL;
char * pszFree;
zipFile hZip = zipOpen2( hb_fsNameConv( szFileName, &pszFree ), hb_parnidef( 2, APPEND_STATUS_CREATE ),
&pszGlobalComment, NULL );
@@ -253,7 +253,7 @@ HB_FUNC( HB_ZIPOPEN )
hb_retptrGC( phZip );
if( pszGlobalComment )
hb_storc( ( const char * ) pszGlobalComment, 3 );
hb_storc( pszGlobalComment, 3 );
}
}
else