diff options
author | Antoine Jacoutot <antoine@mtier.org> | 2013-09-11 15:17:14 +0800 |
---|---|---|
committer | Antoine Jacoutot <antoine@mtier.org> | 2013-09-11 15:18:13 +0800 |
commit | 44a2cb9886223df8ee497f5ecd19123f7a3ca5ea (patch) | |
tree | 6ee9371ee3dfe7f2f0baf887e47f76605db36c85 /e-util/ea-cell-table.h | |
parent | d473e0a333b0a965dafb0fcde325e3f600f28e3c (diff) | |
download | gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.tar gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.tar.gz gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.tar.bz2 gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.tar.lz gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.tar.xz gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.tar.zst gsoc2013-evolution-44a2cb9886223df8ee497f5ecd19123f7a3ca5ea.zip |
calendar: do not assume time_t is long
On Linux time_t is long, on OpenBSD time_t is long long... so printf
statements using %lu on 32-bit platforms will break on !Linux.
The only portable way to print a time_t is using a cast and casting to
"long long" (gint64) is probably the most portable way.
https://bugzilla.gnome.org/show_bug.cgi?id=707829
Diffstat (limited to 'e-util/ea-cell-table.h')
0 files changed, 0 insertions, 0 deletions