GNOME Bugzilla – Bug 791128
C runtime complains about bad arguments on each g_log() call
Last modified: 2017-12-03 03:08:23 UTC
Every time glib logs something, there's an "Invalid parameter passed to C runtime function" message in the console.
Created attachment 364807 [details] [review] Fix a 32-bit time_t cast Divide first, *then* cast. Otherwise a very long "now", which is 64-bit, gets truncated into a 32-bit time_t, which can't hold the value, and turns negative more often than not.
Review of attachment 364807 [details] [review]: LGTM.
Attachment 364807 [details] pushed as 69ea026 - Fix a 32-bit time_t cast