[Workaround] GCC 15: Build error `encrypt.c:329:25: error: passing argument...
Brought to you by:
obobo
With GCC 15.2.1, it fails to build with
encrypt.c: In function ‘PE_store_msg’:
encrypt.c:329:25: error: passing argument 1 of ‘time’ makes pointer from integer without a cast [-Wint-conversion]
329 | newnode->time = time((time_t)NULL);
| ^
| |
| long int
[...]
Adding -Wno-error=int-conversion to CFLAGS does workaround this, but a proper fix would be to fix the code.
Regards!
Thanks for the bug report, I've updated the SVN / trunk with a fix to the code: the cast should be to
(time_t *)rather than(time_t).