mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +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
|
|
@ -1025,7 +1025,7 @@ void ThreadMapPort2(void* parg)
|
|||
{
|
||||
printf("ThreadMapPort started\n");
|
||||
|
||||
std::string port = strprintf("%d", GetListenPort());
|
||||
std::string port = strprintf("%u", GetListenPort());
|
||||
const char * multicastif = 0;
|
||||
const char * minissdpdpath = 0;
|
||||
struct UPNPDev * devlist = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue