diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 04:38:17 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 04:38:17 +0800 |
commit | 585f3d90d17745418e162b26e76f92d6c36cf3a0 (patch) | |
tree | a29d6763fae57a058703639c16156464b36bf5b0 /src/openbsc_nat | |
parent | 5aa17014deace6d91a5cbb9784a9c05521ba19c8 (diff) |
u_int16_t -> uint16_t
Diffstat (limited to 'src/openbsc_nat')
-rw-r--r-- | src/openbsc_nat/tlv_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openbsc_nat/tlv_parser.c b/src/openbsc_nat/tlv_parser.c index 9255fed..9b38b9f 100644 --- a/src/openbsc_nat/tlv_parser.c +++ b/src/openbsc_nat/tlv_parser.c @@ -28,7 +28,7 @@ int tlv_dump(struct tlv_parsed *dec) * * Also, returns the number of bytes consumed by the TLV entry */ -int tlv_parse_one(uint8_t *o_tag, u_int16_t *o_len, const uint8_t **o_val, +int tlv_parse_one(uint8_t *o_tag, uint16_t *o_len, const uint8_t **o_val, const struct tlv_definition *def, const uint8_t *buf, int buf_len) { @@ -107,7 +107,7 @@ int tlv_parse(struct tlv_parsed *dec, const struct tlv_definition *def, uint8_t lv_tag2) { int ofs = 0, num_parsed = 0; - u_int16_t len; + uint16_t len; memset(dec, 0, sizeof(*dec)); |