mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user