Skip to content

Commit

Permalink
Fix cast to make clang happy
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Jun 30, 2023
1 parent f226ea6 commit 2077d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/support/StringBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ StringBuilderBase & StringBuilderBase::AddFormat(const char * format, ...)
// on invalid formats, printf-style methods return negative numbers
if (needed > 0)
{
mWriter.Skip(needed);
mWriter.Skip(static_cast<size_t>(needed));
}

va_end(args);
Expand Down

0 comments on commit 2077d6b

Please sign in to comment.