summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2004-03-05 01:48:16 +0000
committerwchang0222%aol.com <devnull@localhost>2004-03-05 01:48:16 +0000
commitc28f4c5269f49c291eb4c49aa1acc3e060ea1214 (patch)
treec37560a09b8b3659962764c5713881e268ed296f
parente12b5c4ae53606e6b5626b2e0efbf5ee136b8603 (diff)
downloadnspr-hg-c28f4c5269f49c291eb4c49aa1acc3e060ea1214.tar.gz
Bugzilla bug 186547: fixed compiler warnings. r=darin.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/src/io/prprf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/io/prprf.c b/pr/src/io/prprf.c
index 4fa197c1..1d3bd4c1 100644
--- a/pr/src/io/prprf.c
+++ b/pr/src/io/prprf.c
@@ -1011,7 +1011,7 @@ PR_IMPLEMENT(PRUint32) PR_sxprintf(PRStuffFunc func, void *arg,
const char *fmt, ...)
{
va_list ap;
- int rv;
+ PRUint32 rv;
va_start(ap, fmt);
rv = PR_vsxprintf(func, arg, fmt, ap);
@@ -1135,7 +1135,7 @@ static int LimitStuff(SprintfState *ss, const char *sp, PRUint32 len)
PR_IMPLEMENT(PRUint32) PR_snprintf(char *out, PRUint32 outlen, const char *fmt, ...)
{
va_list ap;
- int rv;
+ PRUint32 rv;
PR_ASSERT((PRInt32)outlen > 0);
if ((PRInt32)outlen <= 0) {