mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +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
@@ -605,7 +605,7 @@ static switch_status_t switch_cache_db_execute_sql_chunked(switch_cache_db_handl
|
||||
{
|
||||
switch_status_t status = SWITCH_STATUS_FALSE;
|
||||
char *p, *s, *e;
|
||||
int chunk_count;
|
||||
switch_size_t chunk_count;
|
||||
switch_size_t len;
|
||||
|
||||
switch_assert(chunk_size);
|
||||
@@ -1871,7 +1871,7 @@ static void *SWITCH_THREAD_FUNC switch_user_sql_thread(switch_thread_t *thread,
|
||||
|
||||
if (switch_test_flag((&runtime), SCF_DEBUG_SQL)) {
|
||||
char line[128] = "";
|
||||
int l;
|
||||
switch_size_t l;
|
||||
|
||||
switch_snprintf(line, sizeof(line), "%s RUN QUEUE [", qm->name);
|
||||
|
||||
|
||||
Reference in new issue
Block a user