mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
fix signed/unsigned in strprintf and CNetAddr::GetByte()
- I checked every occurance of strprintf() in the code and used %u, where unsigned vars are used - the change to GetByte() was made, as ip is an unsigned char
This commit is contained in:
parent
0a4e67afad
commit
463a1cab43
5 changed files with 9 additions and 9 deletions
|
|
@ -816,7 +816,7 @@ void ThreadRPCServer2(void* parg)
|
|||
}
|
||||
catch(boost::system::system_error &e)
|
||||
{
|
||||
strerr = strprintf(_("An error occurred while setting up the RPC port %i for listening on IPv4: %s"), endpoint.port(), e.what());
|
||||
strerr = strprintf(_("An error occurred while setting up the RPC port %u for listening on IPv4: %s"), endpoint.port(), e.what());
|
||||
}
|
||||
|
||||
if (!fListening) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue