mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-10-31 12:03:50 +00:00 
			
		
		
		
	sccp: u_int16_t -> uint16_t
This commit is contained in:
		| @@ -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]; | ||||||
|   | |||||||
| @@ -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; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user