From: Jeff Lenk Date: Wed, 8 May 2013 16:36:13 +0000 (-0500) Subject: FS-5389 X-Git-Tag: v1.5.1~111^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf912e82108e2bbb6701265de22c498bde10516;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); } }