Fix warnings
This commit is contained in:
@@ -104,7 +104,7 @@ void utf8print(void* /*arg*/, const char* str)
|
||||
printf(temp_buf);
|
||||
#else
|
||||
{
|
||||
printf(str);
|
||||
printf("%s", str);
|
||||
fflush(stdout);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -286,7 +286,7 @@ int RASocket::subnegotiate()
|
||||
|
||||
if (n >= 1024)
|
||||
{
|
||||
sLog->outRemote("RASocket::subnegotiate: allocated buffer 1024 bytes was too small for negotiation packet, size: %u", n);
|
||||
sLog->outRemote("RASocket::subnegotiate: allocated buffer 1024 bytes was too small for negotiation packet, size: %u", uint32(n));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user