freebsd-dev/usr.bin/rup
Jilles Tjoelker 8f8092f8e7 rup: Fix -Wcast-align warnings
Fix possible strict aliasing issue (if time_t is the same size as int but
not int but for example long) which also resulted in a false positive
warning on systems with 64-bit time_t. Pointer casts are bad; we can just
copy the time_t.

Elsewhere, avoid casting char * to int * by using memcpy().

Reviewed by:	eadler
Differential Revision:	https://reviews.freebsd.org/D16075
2018-07-03 19:09:46 +00:00
..
Makefile rup: Fix -Wcast-align warnings 2018-07-03 19:09:46 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rup.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rup.c rup: Fix -Wcast-align warnings 2018-07-03 19:09:46 +00:00