do not assume time_t is long
authorAntoine Jacoutot <antoine@mtier.org>
Wed, 11 Sep 2013 13:57:57 +0000 (15:57 +0200)
committerAntoine Jacoutot <antoine@mtier.org>
Wed, 11 Sep 2013 13:57:57 +0000 (15:57 +0200)
commitfa37efaf26d366a3d0d5256283455a28025ddbde
treec75836635067da19fa6046782e2ec2ce7394231a
parent365101ba9fccd39d94e4f73f04579596f9544565
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=707900
addressbook/backends/file/e-book-backend-file.c
addressbook/backends/ldap/e-book-backend-ldap.c
calendar/libedata-cal/e-cal-backend-intervaltree.c
camel/camel-lock.c
camel/camel-search-sql-sexp.c
camel/providers/local/camel-maildir-summary.c
camel/providers/pop3/camel-pop3-folder.c
tests/libedata-cal/test-cal-backend-sexp.c
tests/libedata-cal/test-intervaltree.c