[poppler] glib/test-poppler-glib.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Mon Dec 22 00:29:15 PST 2008


 glib/test-poppler-glib.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c80431eb1626d89e7b615e5a5149d3436b554b66
Author: Hib Eris <hib at hiberis.nl>
Date:   Mon Dec 22 09:28:47 2008 +0100

    Fix compile warning on format type

diff --git a/glib/test-poppler-glib.cc b/glib/test-poppler-glib.cc
index bd33f91..1ff7010 100644
--- a/glib/test-poppler-glib.cc
+++ b/glib/test-poppler-glib.cc
@@ -556,7 +556,7 @@ int main (int argc, char *argv[])
 	  attachment = (PopplerAttachment *)l->data;
 	  g_print ("\tname: %s\n", attachment->name);
 	  g_print ("\tdescription: %s\n", attachment->description);
-	  g_print ("\tsize: %lu\n", attachment->size);
+	  g_print ("\tsize: %" G_GSIZE_FORMAT "\n", attachment->size);
 	  strdate = poppler_format_date (attachment->ctime);
 	  if (strdate)
 	    {


More information about the poppler mailing list