Fix types of hm_header_st.

Replace unsigned long with the appropriate sized integer type.

Change-Id: I7b4641d84568f6c11efa25350a9e488a556fc92e
Reviewed-on: https://boringssl-review.googlesource.com/3766
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2015-03-02 21:06:24 -05:00 committed by Adam Langley
parent 7538122ca6
commit 8cb7a7c0d5

View File

@ -95,11 +95,11 @@ typedef struct dtls1_bitmap_st {
* should be moved elsewhere. */
struct hm_header_st {
uint8_t type;
unsigned long msg_len;
uint32_t msg_len;
uint16_t seq;
unsigned long frag_off;
unsigned long frag_len;
unsigned int is_ccs;
uint32_t frag_off;
uint32_t frag_len;
int is_ccs;
/* epoch, for buffered outgoing messages, is the epoch the message was
* originally sent in. */
uint16_t epoch;