]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5389
authorJeff Lenk <jeff@jefflenk.com>
Wed, 8 May 2013 16:36:13 +0000 (11:36 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 24 May 2013 13:34:43 +0000 (08:34 -0500)
src/switch_xml.c

index 31915f5f7fe109fc28ad022729f393a79b08ea81..d59ae1fe5cfc0542342f158c335b9ade3d462d15 100644 (file)
@@ -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);
                }
        }