We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c49a2 commit c387d2aCopy full SHA for c387d2a
crnlib/crn_packed_uint.h
@@ -46,7 +46,7 @@ struct packed_uint {
46
return (m_buf[0] << 8U) | m_buf[1];
47
case 3:
48
return (m_buf[0] << 16U) | (m_buf[1] << 8U) | (m_buf[2]);
49
- default:
+ case 4:
50
return (m_buf[0] << 24U) | (m_buf[1] << 16U) | (m_buf[2] << 8U) | (m_buf[3]);
51
}
52
0 commit comments