Skip to content

Commit c387d2a

Browse files
committed
test
1 parent 20c49a2 commit c387d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crnlib/crn_packed_uint.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct packed_uint {
4646
return (m_buf[0] << 8U) | m_buf[1];
4747
case 3:
4848
return (m_buf[0] << 16U) | (m_buf[1] << 8U) | (m_buf[2]);
49-
default:
49+
case 4:
5050
return (m_buf[0] << 24U) | (m_buf[1] << 16U) | (m_buf[2] << 8U) | (m_buf[3]);
5151
}
5252
}

0 commit comments

Comments
 (0)