From 1a00a2edf5da1aa7d47c736bb718933f1c2e774b Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 24 Apr 2004 15:11:39 +0000 Subject: gcc34 fixlet --- diff --git a/noncore/apps/tableviewer/db/common.cpp b/noncore/apps/tableviewer/db/common.cpp index 6e544ba..b58af85 100644 --- a/noncore/apps/tableviewer/db/common.cpp +++ b/noncore/apps/tableviewer/db/common.cpp @@ -1082,7 +1082,7 @@ QDataStream &operator>>( QDataStream &s, DataElem &d) int i; int size; TVVariant t; - int index = 0; + Q_UINT16 index = 0; s >> size; /* redundent data but makes streaming easier */ if (size != d.getNumFields()) { @@ -1091,7 +1091,7 @@ QDataStream &operator>>( QDataStream &s, DataElem &d) } for(i = 0; i < size; i++) { - s >> (Q_UINT16)index; + s >> index; s >> t; d.setField(index, t); } -- cgit v0.9.0.2