Skip to content

Commit

Permalink
silence another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
N4gtan committed Dec 31, 2024
1 parent b874aa2 commit 5944edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ISO_DATESTAMP GetDateFromString(const char* str, bool* success)
ISO_DATESTAMP result {};

unsigned short year;
const int argsRead = sscanf( str, "%04hu%02hhu%02hhu%02hhu%02hhu%02hhu%*2%hhd",
const int argsRead = sscanf( str, "%04hu%02hhu%02hhu%02hhu%02hhu%02hhu%*2hhu%hhd",
&year, &result.month, &result.day,
&result.hour, &result.minute, &result.second, &result.GMToffs );
if (argsRead >= 6)
Expand Down

0 comments on commit 5944edd

Please sign in to comment.