Commit 75b1d595 authored by Benoît Minisini's avatar Benoît Minisini

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.
parent fe55f495
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment