diff options
Diffstat (limited to 'src/macros_and_utils.h')
-rw-r--r-- | src/macros_and_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index d71c9da..1427ef1 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h | |||
@@ -73,10 +73,10 @@ template <typename... ARGS> | |||
73 | 73 | ||
74 | #else // NDEBUG | 74 | #else // NDEBUG |
75 | 75 | ||
76 | inline void LUA_ASSERT_IMPL(lua_State* L_, bool cond_, char const* file_, size_t const line_, char const* txt_) | 76 | inline void LUA_ASSERT_IMPL(lua_State* L_, bool cond_, char const* file_, int const line_, char const* txt_) |
77 | { | 77 | { |
78 | if (!cond_) { | 78 | if (!cond_) { |
79 | raise_luaL_error(L_, "LUA_ASSERT %s:%llu '%s'", file_, line_, txt_); | 79 | raise_luaL_error(L_, "LUA_ASSERT %s:%d '%s'", file_, line_, txt_); |
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||