Fix off by one error in ses_enc_desc_last_byte().

This commit is contained in:
Alexander Motin 2012-07-24 13:32:49 +00:00
parent 262b5c50db
commit 6d4c4b3fde

View File

@ -117,7 +117,7 @@ struct ses_enc_desc {
static inline uint8_t *
ses_enc_desc_last_byte(struct ses_enc_desc *encdesc)
{
return (&encdesc->length + encdesc->length + 1);
return (&encdesc->length + encdesc->length);
}
static inline struct ses_enc_desc *