mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 11:54:44 +08:00
Fixed warmings (string formats)
This commit is contained in:
parent
723e423799
commit
90e903957a
@ -355,7 +355,7 @@ BOOL TsProxyCreateTunnelReadResponse(rdpTsg* tsg, RPC_PDU* pdu)
|
||||
offset += 8; // UnicodeString Offset, Length
|
||||
}
|
||||
if(MsgBytes > TSG_MESSAGING_MAX_MESSAGE_LENGTH) {
|
||||
fprintf(stderr, "Out of Spec Message Length %d");
|
||||
fprintf(stderr, "Out of Spec Message Length %d", MsgBytes);
|
||||
return FALSE;
|
||||
}
|
||||
offset += MsgBytes;
|
||||
|
@ -70,7 +70,7 @@ void profiler_print(PROFILER* profiler)
|
||||
double elapsed_sec = stopwatch_get_elapsed_time_in_seconds(profiler->stopwatch);
|
||||
double avg_sec = elapsed_sec / (double) profiler->stopwatch->count;
|
||||
|
||||
fprintf(stderr, "| %-30.30s| %10lu | %9f | %9f |\n",
|
||||
fprintf(stderr, "| %-30.30s| %10du | %9f | %9f |\n",
|
||||
profiler->name, profiler->stopwatch->count, elapsed_sec, avg_sec);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user