Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TracerDS committed Aug 25, 2024
1 parent 1754f74 commit d34c847
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 163 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ CClient* UserDataCast(CClient* ptr, lua_State* luaState)

CDiscordGuild* UserDataCast(CDiscordGuild* ptr, lua_State* luaState)
{
return CDiscordGuild::GetFromSciptID(reinterpret_cast<std::uint32_t>(reinterpret_cast<std::uint32_t*>(ptr)));
return CDiscordGuild::GetFromSciptID(reinterpret_cast<unsigned long>(ptr));
}

//
Expand Down
Loading

0 comments on commit d34c847

Please sign in to comment.