gisi: Make cursor a 16bit unsigned
authorAki Niemi <aki.niemi@nokia.com>
Thu, 3 Mar 2011 17:05:10 +0000 (19:05 +0200)
committerAki Niemi <aki.niemi@nokia.com>
Thu, 3 Mar 2011 17:05:10 +0000 (19:05 +0200)
This is to match subblock length when long header format is in use.

gisi/iter.h

index 2fe4ec5..0327564 100644 (file)
@@ -31,10 +31,10 @@ extern "C" {
 #include "message.h"
 
 struct _GIsiSubBlockIter {
-       uint8_t cursor;
        uint8_t *start;
        uint8_t *end;
        gboolean longhdr;
+       uint16_t cursor;
        uint16_t sub_blocks;
 };
 typedef struct _GIsiSubBlockIter GIsiSubBlockIter;