From 418c035c1e1478a945914d5401cd5d2e52d1c8dc Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Tue, 14 Mar 2017 09:33:21 +0100 Subject: [PATCH] Match proper type for PR_sscanf which has a signed return value. --- netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netwerk/protocol/ftp/nsFtpConnectionThread.cpp b/netwerk/protocol/ftp/nsFtpConnectionThread.cpp index cd1e987c9e..b4cbab3a2a 100644 --- a/netwerk/protocol/ftp/nsFtpConnectionThread.cpp +++ b/netwerk/protocol/ftp/nsFtpConnectionThread.cpp @@ -1409,7 +1409,7 @@ nsFtpState::R_pasv() { // xxx,xxx,xxx,xxx,ppp,ppp (without parens) int32_t h0, h1, h2, h3, p0, p1; - uint32_t fields = 0; + int32_t fields = 0; // First try with parens while (*ptr && *ptr != '(') ++ptr;