From cbef79f9ffbd5d0e4d474d5e284b03457e98598c Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Sat, 16 Oct 1999 23:37:28 +0000 Subject: [PATCH] remove build warning, r=jar --- extensions/wallet/src/wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/wallet/src/wallet.cpp b/extensions/wallet/src/wallet.cpp index 8296d484a77..dd13e967120 100644 --- a/extensions/wallet/src/wallet.cpp +++ b/extensions/wallet/src/wallet.cpp @@ -2322,7 +2322,7 @@ WLLT_GetPrefillListForViewer(nsString& aPrefillList) } char * urlCString; urlCString = wallet_url.ToNewCString(); - g += PR_snprintf(buffer+g, BUFLEN3-g,"%c%ld%c%s", BREAK, wallet_list, BREAK, urlCString); + g += PR_snprintf(buffer+g, BUFLEN3-g,"%c%p%c%s", BREAK, wallet_list, BREAK, urlCString); delete []urlCString; aPrefillList = buffer; PR_FREEIF(buffer); @@ -2719,7 +2719,7 @@ WLLT_PrefillReturn(nsAutoString results) { /* process the list, doing the fillins */ nsVoidArray * list; - sscanf(listAsAscii, "%ld", &list); + sscanf(listAsAscii, "%p", &list); if (fillins[0] == '\0') { /* user pressed CANCEL */ wallet_ReleasePrefillElementList(list); return;