mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-09 04:49:05 +00:00
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
This commit is contained in:
1 parent
643c88f49b
commit
084e245085
57 files changed
+226
-216
No files matched your search
@@ -248,8 +248,8 @@ static switch_status_t switch_console_logger(const switch_log_node_t *node, swit
|
||||
DWORD outbytes = 0;
|
||||
SetConsoleTextAttribute(hStdout, COLORS[node->level]);
|
||||
if (log_uuid && !zstr(node->userdata)) {
|
||||
WriteFile(hStdout, node->userdata, strlen(node->userdata), &outbytes, NULL);
|
||||
WriteFile(hStdout, " ", strlen(" "), &outbytes, NULL);
|
||||
WriteFile(hStdout, node->userdata, (DWORD)strlen(node->userdata), &outbytes, NULL);
|
||||
WriteFile(hStdout, " ", 1, &outbytes, NULL);
|
||||
}
|
||||
WriteFile(hStdout, node->data, len, &outbytes, NULL);
|
||||
SetConsoleTextAttribute(hStdout, wOldColorAttrs);
|
||||
|
||||
Reference in new issue
Block a user