# HG changeset patch # User Philip Kaufmann # Date 1349458059 -7200 # Node ID cdfaf2102f757650953ef6981949baa7f564f842 # Parent 07017e17c24fba462c9cef418c85ef2284d5d396 fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cpp - also includes the required bitcoinstrings.cpp update diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -796,7 +796,7 @@ } catch(boost::system::system_error &e) { - strerr = strprintf(_("An error occurred while setting up the RPC port %i for listening on IPv6, falling back to IPv4: %s"), endpoint.port(), e.what()); + strerr = strprintf(_("An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s"), endpoint.port(), e.what()); } try { diff --git a/src/qt/bitcoinstrings.cpp b/src/qt/bitcoinstrings.cpp --- a/src/qt/bitcoinstrings.cpp +++ b/src/qt/bitcoinstrings.cpp @@ -19,7 +19,7 @@ "Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:" "@STRENGTH)"), QT_TRANSLATE_NOOP("bitcoin-core", "" -"An error occurred while setting up the RPC port %i for listening on IPv6, " +"An error occurred while setting up the RPC port %u for listening on IPv6, " "falling back to IPv4: %s"), QT_TRANSLATE_NOOP("bitcoin-core", "" "An error occurred while setting up the RPC port %u for listening on IPv4: %s"),