Skip to content
Snippets Groups Projects
Commit 34e122bc authored by Juan Carrano's avatar Juan Carrano
Browse files

examples/lua_REPL: cast pointer to void in printf

parent 0230c2ca
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ const size_t lua_riot_builtin_lua_table_len = 1;
int main(void)
{
printf("Using memory range for Lua heap: %p - %p, %zu bytes\n",
lua_memory, lua_memory + MAIN_LUA_MEM_SIZE, sizeof(void *));
(void *)lua_memory, (void *)(lua_memory + MAIN_LUA_MEM_SIZE), sizeof(void *));
while (1) {
int status, value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment