Skip to content

Commit

Permalink
check printf format strings
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jan 12, 2025
1 parent 5b6db2f commit 467af31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ class SegmentWrap;
//main.cpp
void correctTileForDisplayedOffset(int32_t& x, int32_t& y, int32_t& z);

void LogError(const char* msg, ...);
void PrintMessage(const char* msg, ...);
void LogVerbose(const char* msg, ...);
void SetTitle(const char *format, ...);
void LogError(const char* msg, ...) Wformat(printf,1,2);
void PrintMessage(const char* msg, ...) Wformat(printf,1,2);
void LogVerbose(const char* msg, ...) Wformat(printf,1,2);
void SetTitle(const char *format, ...) Wformat(printf,1,2);

extern GameConfiguration ssConfig;
extern GameState ssState;
Expand Down

0 comments on commit 467af31

Please sign in to comment.