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.
This commit is contained in:
parent
fe55f495f4
commit
75b1d5955a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue