Skip to content

Commit

Permalink
fixed incompatible cast
Browse files Browse the repository at this point in the history
  • Loading branch information
tilkinsc committed Jan 15, 2019
1 parent 0502f97 commit 18e1fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luadriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ int main(int argc, char** argv) {
#if defined(_WIN32) || defined(_WIN64)
HMODULE luacxt;
check_error((luacxt = LoadLibrary(ARGS.luaver == 0 ? DEFAULT_LUA : luastr)) == 0, "Could not find the LuaConsole library! (Default: " DEFAULT_LUA ")");
_luacon_loaddll = (luacon_loaddll*) GetProcAddress(luacxt, "luacon_loaddll");
_luacon_loaddll = (luacon_loaddll) GetProcAddress(luacxt, "luacon_loaddll");
#else
void* luacxt;
luacxt = dlopen(ARGS.luaver == 0 ? DEFAULT_LUA : luastr, RTLD_LAZY);
Expand Down

0 comments on commit 18e1fb6

Please sign in to comment.