Pass LL_ZERO instead of 0 as the second argument to PR_MemMap so that

the code also compiles on platforms without long longs.
This commit is contained in:
wtc%netscape.com 1999-12-22 19:47:13 +00:00
Родитель b3fcb59f48
Коммит 0775d6ac9d
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -108,7 +108,7 @@ static void ClientOne( void )
PR_LOG(lm, msgLevel,
("ClientOne(): PR_ImportFileMapFromString(): fm: %p", fm ));
addr = PR_MemMap( fm, 0, fmSize );
addr = PR_MemMap( fm, LL_ZERO, fmSize );
if ( NULL == addr ) {
failed_already = 1;
PR_LOG(lm, msgLevel,
@ -189,7 +189,7 @@ static void ServerOne( void )
PR_snprintf( envBuf, sizeof(envBuf), "%s=%s", fmEnvName, fmString);
putenv( envBuf );
addr = PR_MemMap( fm, 0, fmSize );
addr = PR_MemMap( fm, LL_ZERO, fmSize );
if ( NULL == addr ) {
failed_already = 1;
PR_LOG(lm, msgLevel,