summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-12-22 19:47:13 +0000
committerwtc%netscape.com <devnull@localhost>1999-12-22 19:47:13 +0000
commit81285587f567dde1e1e6b61916183bb508c1c45f (patch)
treea9ea88750f40c0931a4cc3268254c5597995ab2f
parent2dd429f25b5cbbf4ddaa7e971ea6bd758c6a0c7b (diff)
downloadnspr-hg-81285587f567dde1e1e6b61916183bb508c1c45f.tar.gz
Pass LL_ZERO instead of 0 as the second argument to PR_MemMap so that
the code also compiles on platforms without long longs.
-rw-r--r--pr/tests/anonfm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/tests/anonfm.c b/pr/tests/anonfm.c
index 8ce1b15a..3007c9bf 100644
--- a/pr/tests/anonfm.c
+++ b/pr/tests/anonfm.c
@@ -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,