Jeremy Sowden
unread,Dec 24, 2024, 10:56:06 AM12/24/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Dev
With recent versions of gcc, on architectures where `long` and `time_t` are not
the same size, passing pointers to `long` to `gmtime(3)` and `localtime(3)`,
leads to "incompatible pointer type" errors. These patches fix several of these
errors by using `time_t` instead.
Jeremy Sowden (4):
wmCalClock: fix type of arguments to `gmtime(3)` and `localtime(3)`
wmmoonclock: fix type of arguments to `gmtime(3)` and `localtime(3)`
wmsun: fix type of arguments to `gmtime_r(3)` and `localtime_r(3)`
wmtime: fix type of arguments to `localtime(3)`
wmCalClock/Src/wmCalClock.c | 2 +-
wmmoonclock/src/wmMoonClock.c | 3 ++-
wmsun/wmsun.c | 3 ++-
wmtime/wmtime.c | 4 ++--
4 files changed, 7 insertions(+), 5 deletions(-)
--
2.45.2