From 37e9658f74f9421aaae5fe71f12eb2221f2d574a Mon Sep 17 00:00:00 2001 From: Benoit Germain <benoit.germain@ubisoft.com> Date: Mon, 18 Mar 2024 09:56:44 +0100 Subject: C++ migration: buildfixes Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C" --- src/linda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linda.c') diff --git a/src/linda.c b/src/linda.c index 8b59790..eac6458 100644 --- a/src/linda.c +++ b/src/linda.c @@ -816,7 +816,7 @@ static void* linda_id( lua_State* L, DeepOp op_) case eDO_delete: { Keeper* K; - struct s_Linda* linda = lua_touserdata( L, 1); + struct s_Linda* linda = (struct s_Linda*) lua_touserdata( L, 1); ASSERT_L( linda); // Clean associated structures in the keeper state. -- cgit v1.2.3-55-g6feb