ports/graphics/pixieplus/files/patch-misc_qxcfi.cpp
Pav Lucistnik b4db9b9ff1 - Fix build on 5.x
PR:		ports/71913
Submitted by:	Arjan van Leeuwen <avleeuwen@piwebs.com> (maintainer)
Approved by:	portmgr (marcus, wca)
2004-09-20 00:08:56 +00:00

11 lines
382 B
C++

--- misc/qxcfi.cpp.orig Sat Sep 18 21:59:48 2004
+++ misc/qxcfi.cpp Sat Sep 18 22:00:16 2004
@@ -1342,7 +1342,7 @@
bool XCFImageFormat::loadProperty ( QDataStream& xcf_io, PropType& type,
QByteArray& bytes )
{
- xcf_io >> (Q_UINT32)type;
+ xcf_io >> (Q_UINT32&)type;
if ( xcf_io.device()->status() != IO_Ok ) {
qDebug( "XCF: read failure on property type" );