Skip to content

Commit

Permalink
Fix minor warning
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jan 12, 2024
1 parent 6ab6726 commit 5fd4501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ inline void Log_func(const char* const msg, ...)

va_list args;
va_start(args, msg);
vsprintf(szBuf, msg, args);
vsnprintf(szBuf, 512, msg, args);
va_end(args);

printf("%d: %s\n", count, szBuf);
Expand Down

0 comments on commit 5fd4501

Please sign in to comment.