1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/lua_REPL: cast pointer to void in printf

This commit is contained in:
Juan Carrano 2018-08-01 11:05:47 +02:00
parent 0230c2cac1
commit 34e122bcc3

View File

@ -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;