Skip to content

Commit

Permalink
Fix compare that is always true
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornwah authored and christophe-lunarg committed Feb 3, 2024
1 parent 33b0eb9 commit 8ebe4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glm/gtx/string_cast.inl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace detail
std::size_t const STRING_BUFFER(4096);

assert(message != NULL);
assert(strlen(message) >= 0 && strlen(message) < STRING_BUFFER);
assert(strlen(message) < STRING_BUFFER);

char buffer[STRING_BUFFER];
va_list list;
Expand Down

0 comments on commit 8ebe4b5

Please sign in to comment.