mirror of git://git.sysmocom.de/ofono
gisi: Make cursor a 16bit unsigned
This is to match subblock length when long header format is in use.
This commit is contained in:
parent
1a97158e04
commit
073f3d252f
|
@ -31,10 +31,10 @@ extern "C" {
|
||||||
#include "message.h"
|
#include "message.h"
|
||||||
|
|
||||||
struct _GIsiSubBlockIter {
|
struct _GIsiSubBlockIter {
|
||||||
uint8_t cursor;
|
|
||||||
uint8_t *start;
|
uint8_t *start;
|
||||||
uint8_t *end;
|
uint8_t *end;
|
||||||
gboolean longhdr;
|
gboolean longhdr;
|
||||||
|
uint16_t cursor;
|
||||||
uint16_t sub_blocks;
|
uint16_t sub_blocks;
|
||||||
};
|
};
|
||||||
typedef struct _GIsiSubBlockIter GIsiSubBlockIter;
|
typedef struct _GIsiSubBlockIter GIsiSubBlockIter;
|
||||||
|
|
Loading…
Reference in New Issue