]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix 32 bit error on %ld in printf (thanks crienzo)
authorMichael S Collins <msc@freeswitch.org>
Fri, 6 Jan 2012 01:56:04 +0000 (17:56 -0800)
committerMichael S Collins <msc@freeswitch.org>
Fri, 6 Jan 2012 01:56:04 +0000 (17:56 -0800)
src/mod/applications/mod_httapi/mod_httapi.c

index 8bd11ac470ab02a197a72203685e609e69d2221d..5b59665962703ed25b8c51419a17b60781abf3f1 100644 (file)
@@ -1906,7 +1906,7 @@ static switch_status_t fetch_cache_data(const char *url, switch_event_t **header
        switch(code) {
        case 200:
                if (save_path) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "caching: url:%s to %s (%ld bytes)\n", url, save_path, client.bytes);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "caching: url:%s to %s (%" SWITCH_SIZE_T_FMT " bytes)\n", url, save_path, client.bytes);
                }
                status = SWITCH_STATUS_SUCCESS;
                break;