CLuaInstance::createChannelIDfromUrl: Use format macro in snprintf

This commit is contained in:
M. Liebmann
2015-10-30 19:13:32 +01:00
parent 77a2b389bd
commit 3c849a2649

View File

@@ -2728,7 +2728,7 @@ int CLuaInstance::createChannelIDfromUrl(lua_State *L)
t_channel_id id = CREATE_CHANNEL_ID(0, 0, 0, url);
char id_str[17];
snprintf(id_str, sizeof(id_str), "%llx", id);
snprintf(id_str, sizeof(id_str), "%" PRIx64, id);
lua_pushstring(L, id_str);
return 1;