Skip to content

Commit

Permalink
Merge pull request #180 from LeadRDRK/bindint-type-fix
Browse files Browse the repository at this point in the history
Fix return type of PreparedQuery_BindInt_hook
  • Loading branch information
chinosk6 authored Mar 25, 2024
2 parents ffa39ac + b2da097 commit 6afaf7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ namespace
}

void* PreparedQuery_BindInt_orig = nullptr;
void PreparedQuery_BindInt_hook(void* _this, int32_t idx, int32_t value)
bool PreparedQuery_BindInt_hook(void* _this, int32_t idx, int32_t value)
{
if (const auto iter = text_queries.find(_this); iter != text_queries.end())
{
Expand Down

0 comments on commit 6afaf7b

Please sign in to comment.