From 75b1d5955aaf53493abdc58b644f8fcc12cb106e Mon Sep 17 00:00:00 2001 From: gambas <g4mba5@gmail.com> Date: Sun, 20 Jan 2019 23:28:00 +0100 Subject: [PATCH] Replace 'Guint' by 'uint', otherwise the component seems to not compile anymore on some systems. [GB.PDF] * BUG: Replace 'Guint' by 'uint', otherwise the component seems to not compile anymore on some systems. --- gb.pdf/src/CPdfDocument.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gb.pdf/src/CPdfDocument.cpp b/gb.pdf/src/CPdfDocument.cpp index 3162f0deb..0610a65d8 100644 --- a/gb.pdf/src/CPdfDocument.cpp +++ b/gb.pdf/src/CPdfDocument.cpp @@ -457,10 +457,10 @@ int32_t open_document (void *_object, char *sfile, int32_t lfile) if ( GB.LoadFile(sfile,lfile,&buf,&len) ) return -1; #if POPPLER_VERSION_0_58 - stream=new MemStream(buf,0,(Guint)len,std::move(obj)); + stream=new MemStream(buf,0,(uint)len,std::move(obj)); #else obj.initNull(); - stream=new MemStream(buf,0,(Guint)len,&obj); + stream=new MemStream(buf,0,(uint)len,&obj); #endif test=new PDFDoc (stream,0,0);