-rw-r--r-- | noncore/apps/tableviewer/db/common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
@@ -1083,5 +1083,5 @@ QDataStream &operator>>( QDataStream &s, DataElem &d) | |||
1083 | int size; | 1083 | int size; |
1084 | TVVariant t; | 1084 | TVVariant t; |
1085 | int index = 0; | 1085 | Q_UINT16 index = 0; |
1086 | 1086 | ||
1087 | s >> size; /* redundent data but makes streaming easier */ | 1087 | s >> size; /* redundent data but makes streaming easier */ |
@@ -1092,5 +1092,5 @@ QDataStream &operator>>( QDataStream &s, DataElem &d) | |||
1092 | 1092 | ||
1093 | for(i = 0; i < size; i++) { | 1093 | for(i = 0; i < size; i++) { |
1094 | s >> (Q_UINT16)index; | 1094 | s >> index; |
1095 | s >> t; | 1095 | s >> t; |
1096 | d.setField(index, t); | 1096 | d.setField(index, t); |