From 4b54ec078b4277505aa3161175715e2d1edd4e33 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Wed, 8 May 2013 11:36:13 -0500 Subject: [PATCH] FS-5389 --- src/switch_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }