[Kstars-devel] KDE/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Tue Jun 16 07:12:58 CEST 2009


SVN commit 982519 by asimha:

indexSize should be a 32-bit unsigned int, and not a 16-bit unsigned
int. This fixes the zero indexSize on big endian machines.

CCMAIL: kstars-devel at kde.org



 M  +1 -1      binfilehelper.h  


--- trunk/KDE/kdeedu/kstars/kstars/binfilehelper.h #982518:982519
@@ -261,7 +261,7 @@
     QVector<dataElement *> fields;        // Maintains a list of fields in the file, along with relevant details
     QString headerText;                   // Stores the file header text
     qint16 nfields;                       // Stores the number of fields as indicated by the field descriptor
-    quint16 indexSize;                    // Stores the size of the index table in number of entries
+    quint32 indexSize;                    // Stores the size of the index table in number of entries
     long itableOffset;                    // Stores the offset position of the first index table entry
     long dataOffset;                      // Stores the offset position of the start of data
     QString errorMessage;                 // Stores the most recent 'unread' error message


More information about the Kstars-devel mailing list