X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2e60fe3cfd5cf5305888fcca0ae19700d808bb23..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/bindings/lua/simgrid_lua.cpp diff --git a/src/bindings/lua/simgrid_lua.cpp b/src/bindings/lua/simgrid_lua.cpp index 7a0f6f9be4..26e9078f75 100644 --- a/src/bindings/lua/simgrid_lua.cpp +++ b/src/bindings/lua/simgrid_lua.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. +/* Copyright (c) 2010-2021. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -85,7 +85,7 @@ static int dump(lua_State* L) lua_pushvalue(L, -2); /* table key val key */ - XBT_DEBUG("%s", sglua_keyvalue_tostring(L, -1, -2)); + XBT_DEBUG("%s", sglua_keyvalue_tostring(L, -1, -2).c_str()); } lua_settop(L, argc); // Remove everything except the initial arguments