Skip to content

Commit

Permalink
[Util] Fix another bug in byte_ref::realloc
Browse files Browse the repository at this point in the history
  • Loading branch information
num0005 committed May 16, 2020
1 parent ecfef78 commit 96c2185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion H2Codez/Common/BasicTagTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ struct byte_ref
this->size = new_size;
this->address = data;
return true;
} else if (new_size = 0) {
} else if (new_size == 0) {
this->size = 0;
this->data = -1;
return true;
Expand Down

0 comments on commit 96c2185

Please sign in to comment.