Mercurial > geeqie
diff src/debug.c @ 1000:4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
author | zas_ |
---|---|
date | Tue, 26 Aug 2008 22:22:51 +0000 |
parents | 6ca2c5fd7b13 |
children | 1646720364cf |
line wrap: on
line diff
--- a/src/debug.c Tue Aug 26 21:19:33 2008 +0000 +++ b/src/debug.c Tue Aug 26 22:22:51 2008 +0000 @@ -19,7 +19,7 @@ * Logging functions */ -gint log_domain_printf(const char *domain, const gchar *format, ...) +gint log_domain_printf(const gchar *domain, const gchar *format, ...) { va_list ap; gchar buf[4096]; @@ -118,7 +118,7 @@ previous = tv; started = 1; - g_snprintf(timestr, sizeof(timestr), "%5d.%06d (+%05d.%06d)", (int)tv.tv_sec, (int)tv.tv_usec, (int)delta.tv_sec, (int)delta.tv_usec); + g_snprintf(timestr, sizeof(timestr), "%5d.%06d (+%05d.%06d)", (gint)tv.tv_sec, (gint)tv.tv_usec, (gint)delta.tv_sec, (gint)delta.tv_usec); return timestr; }