Skip to content

Commit

Permalink
asan: fix mismatched function pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
truemedian committed Dec 19, 2024
1 parent e2d894a commit 2168f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static lua_State *vm_acquire(uv_loop_t* loop) {
static void vm_release(lua_State* L) { lua_close(L); }


static lua_State* luv_thread_acquire_vm() {
static lua_State* luv_thread_acquire_vm(void) {
lua_State* L = vm_acquire(NULL); /* create state */

lua_pushboolean(L, 1);
Expand Down

0 comments on commit 2168f2c

Please sign in to comment.