Skip to content

Commit 18e1fb6

Browse files
committed
fixed incompatible cast
1 parent 0502f97 commit 18e1fb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/luadriver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ int main(int argc, char** argv) {
232232
#if defined(_WIN32) || defined(_WIN64)
233233
HMODULE luacxt;
234234
check_error((luacxt = LoadLibrary(ARGS.luaver == 0 ? DEFAULT_LUA : luastr)) == 0, "Could not find the LuaConsole library! (Default: " DEFAULT_LUA ")");
235-
_luacon_loaddll = (luacon_loaddll*) GetProcAddress(luacxt, "luacon_loaddll");
235+
_luacon_loaddll = (luacon_loaddll) GetProcAddress(luacxt, "luacon_loaddll");
236236
#else
237237
void* luacxt;
238238
luacxt = dlopen(ARGS.luaver == 0 ? DEFAULT_LUA : luastr, RTLD_LAZY);

0 commit comments

Comments
 (0)