Commit 24eb1201 authored by Masaki Muranaka's avatar Masaki Muranaka

Add CHAR_BIT check. There are uint8_t to char conversions.

parent 59c8d6c1
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
# endif # endif
#endif #endif
#if CHAR_BIT != 8
# error This code assumes CHAR_BIT == 8
#endif
static size_t static size_t
offset_crc_body() offset_crc_body()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment