Commit 99d9bb65 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Fix 64bit integer handling on windows

parent 4acde249
......@@ -74,7 +74,7 @@ const char* belle_sip_dict_get_string(belle_sip_dict_t* obj, const char* key, co
void belle_sip_dict_set_int64(belle_sip_dict_t* obj, const char* key, int64_t value)
{
char tmp[30];
snprintf(tmp,sizeof(tmp),"%lli",(long long)value);
snprintf(tmp,sizeof(tmp),"%"PRId64"",(long long)value);
belle_sip_dict_set_string(obj,key,tmp);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment