diff --git a/core/src/asset.h b/core/src/asset.h index c113ed5..f5739b7 100644 --- a/core/src/asset.h +++ b/core/src/asset.h @@ -23,7 +23,7 @@ static inline Asset T##_as_Asset(T* x) {\ TC_FN_TYPECHECK(asset_id, get_id_f, T*);\ TC_FN_TYPECHECK(void, set_id_f, T*, asset_id);\ TC_FN_TYPECHECK(Drop, T##_as_Drop, T*);\ - static IAsset tc = (IAsset){\ + static IAsset const tc = {\ .get_id = (asset_id(*const)(void*)) get_id_f,\ .set_id = (void(*const)(void*,asset_id)) set_id_f,\ };\