Skip to content

Commit

Permalink
chore: remove compile warning on no printf format
Browse files Browse the repository at this point in the history
  • Loading branch information
DacoTaco committed Dec 17, 2024
1 parent 58f2118 commit 33953e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/OpenDolBoot/source/OpenDolBoot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ int main(int argc, char **argv)
}
catch (const std::string& ex)
{
printf(ex.c_str());
printf("%s", ex.c_str());
}
catch (char const* ex)
{
printf(ex);
printf("%s", ex);
}
catch (...)
{
Expand Down

0 comments on commit 33953e8

Please sign in to comment.