Mercurial > geeqie
diff src/exif-common.c @ 1164:3692efcbd325
Fix compilation warnings.
author | zas_ |
---|---|
date | Thu, 20 Nov 2008 11:46:43 +0000 |
parents | 5a5784eb61df |
children | 9e424170e958 |
line wrap: on
line diff
--- a/src/exif-common.c Thu Nov 20 07:22:56 2008 +0000 +++ b/src/exif-common.c Thu Nov 20 11:46:43 2008 +0000 @@ -456,7 +456,7 @@ p2 = (gint)((p - p1)*60); p3 = ((p - p1)*60 - p2)*60; - g_string_append_printf(string, "%0d° %0d' %0.2f\" %.1s", p1, p2, p3, ref); + g_string_append_printf(string, "%0lu° %0lu' %0.2f\" %.1s", p1, p2, p3, ref); } // if (item && ref) item = exif_get_item(exif, "Exif.GPSInfo.GPSLongitude"); @@ -474,7 +474,7 @@ p2 = (gint)((p - p1)*60); p3 = ((p - p1)*60 - p2)*60; - g_string_append_printf(string, ", %0d° %0d' %0.2f\" %.1s", p1, p2, p3, ref); + g_string_append_printf(string, ", %0lu° %0lu' %0.2f\" %.1s", p1, p2, p3, ref); } // if (item && ref) text = string->str;