This commit is contained in:
Jeff Lenk 2013-05-08 11:36:13 -05:00
parent ab7ae9f7cc
commit 0bf912e821
1 changed files with 1 additions and 1 deletions

View File

@ -1982,7 +1982,7 @@ static void switch_xml_user_cache(const char *key, const char *user_name, const
} }
if (expires) { if (expires) {
char *expires_val = malloc(1024); 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); switch_core_hash_insert(CACHE_EXPIRES_HASH, mega_key, expires_val);
} }
} }