Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanem committed Mar 2, 2024
1 parent c151b52 commit 7bba0b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1225,8 +1225,8 @@ static const char *__DATE__str (void)
return (__DATE__); /* e.g. "Mar 2 2024" */
#else
/*
* Convert `__DATA__` into `DD MMM YYYY`.
* Based on
* Convert `__DATE__ into `DD MMM YYYY`.
* Based on:
* https://bytes.com/topic/c/answers/215378-convert-__date__-unsigned-int
*/
#define YEAR() ((((__DATE__[7] - '0') * 10 + (__DATE__ [8] - '0')) * 10 + \
Expand Down

0 comments on commit 7bba0b6

Please sign in to comment.