On Sun, 19 Jun 2011 19:51:11 -0400, Austin Clements <amdragon at mit.edu> wrote: > A double will precisely represent integers up to 2^53, so this > conversion shouldn't be a problem until the year 285422109 or so.
But given that it works, is it actually necessary, that xapian apparently pulls an int from the database, returns a std::string to libnotmuch, which calls a helper function to unserialize it to a double and casts it to time_t before handing it to the user how probably uses it as a long? Can't we easily put in longs and get longs back? Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110620/331d05f0/attachment.pgp>