Fixes compare from int to ptr. ANSI C++ does not like that.

This commit is contained in:
dougt%netscape.com 1999-03-09 20:10:20 +00:00
Родитель 1436944874
Коммит fa179ee346
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -153,7 +153,7 @@ PR_PUBLIC_API(PRInt32) ZIP_FindNext( void* hZip, char * outbuf, PRUint16 bufsize
PRInt32 nsZipArchive::OpenArchive( const char * aArchiveName )
{
//-- validate arguments
if ( aArchiveName == NULL || *aArchiveName == NULL )
if ( aArchiveName == NULL || *aArchiveName == '\0')
return ZIP_ERR_PARAM;
//-- not allowed to do two opens on the same object!