]> Kevux Git Server - fll/commit
Update: Explicitly cast UTF conversion to/from and simple packet bit operations to...
authorKevin Day <thekevinday@gmail.com>
Sun, 31 Dec 2023 02:33:20 +0000 (20:33 -0600)
committerKevin Day <thekevinday@gmail.com>
Sun, 31 Dec 2023 02:34:47 +0000 (20:34 -0600)
commit9929504266c1c72df24a1db37769fb71709ff10a
treeb32660160fac42f3fbfe6140271004ddc20df471
parent575311f3fdefffc21f00e45f0379b094231c6ca2
Update: Explicitly cast UTF conversion to/from and simple packet bit operations to a uint32_t.

If the type is changed or the defines are used with different types, then the shift operators may become problematic.
Prevent this potential problem from happening through explicit casts to uint32_t.
level_0/f_fss/c/fss/simple_packet.c
level_0/f_utf/c/utf/common.h