From: Jeff Lenk Date: Wed, 8 May 2013 16:36:13 +0000 (-0500) Subject: FS-5389 X-Git-Tag: v1.2.13~342 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b54ec078b4277505aa3161175715e2d1edd4e33;p=thirdparty%2Ffreeswitch.git FS-5389 --- diff --git a/src/switch_xml.c b/src/switch_xml.c index 31915f5f7f..d59ae1fe5c 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -1982,7 +1982,7 @@ static void switch_xml_user_cache(const char *key, const char *user_name, const } if (expires) { char *expires_val = malloc(1024); - if (sprintf(expires_val, "%ld", expires)) { + if (sprintf(expires_val, "%ld", (long)expires)) { switch_core_hash_insert(CACHE_EXPIRES_HASH, mega_key, expires_val); } }