sccp: u_int16_t -> uint16_t

This commit is contained in:
Holger Hans Peter Freyther
2010-07-23 18:39:39 +08:00
parent c2c4621a5d
commit f957095385
2 changed files with 3 additions and 3 deletions

View File

@@ -168,8 +168,8 @@ static int check_address(struct sccp_address *addr)
static int _sccp_parse_optional_data(const int offset, static int _sccp_parse_optional_data(const int offset,
struct msgb *msgb, struct sccp_optional_data *data) struct msgb *msgb, struct sccp_optional_data *data)
{ {
u_int16_t room = msgb_l2len(msgb) - offset; uint16_t room = msgb_l2len(msgb) - offset;
u_int16_t read = 0; uint16_t read = 0;
while (room > read) { while (room > read) {
uint8_t type = msgb->l2h[offset + read]; uint8_t type = msgb->l2h[offset + read];

View File

@@ -335,7 +335,7 @@ static int write_called = 0;
*/ */
int sccp_read_cb(struct msgb *data, unsigned len, void *context) int sccp_read_cb(struct msgb *data, unsigned len, void *context)
{ {
u_int16_t payload_length = test_data[current_test].payload_length; uint16_t payload_length = test_data[current_test].payload_length;
const uint8_t *got, *wanted; const uint8_t *got, *wanted;
int i; int i;