CLuaInstance::createChannelIDfromUrl: Use format macro in snprintf

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3c849a2649
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-10-30 (Fri, 30 Oct 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2015-10-30 19:13:32 +01:00
parent c91be17619
commit 977ca73412

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;