Bug#761571: a cast is enough

Adam Borowski kilobyte at angband.pl
Sun Feb 8 03:06:49 UTC 2015


Control: tags -1 +patch

Hi!
Here's a patch that fixes this FTBFS.  I went with a simpler patch,
preserving readability at the cost of failing to fix an Y2038 error.
A better patch would instead cast to int64_t, but upstreams tend to balk
at "%"PRId64"..." which is the portable way to represent such printfs.

Which version you choose it's up to you.

Here's the simpler diff:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-time_t-printf.patch
Type: text/x-diff
Size: 816 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150208/47c12c82/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list