]> Kevux Git Server - fll/commit
Update: Explicitly cast UTF conversion to/from to a uint32_t.
authorKevin Day <thekevinday@gmail.com>
Sun, 31 Dec 2023 02:33:33 +0000 (20:33 -0600)
committerKevin Day <thekevinday@gmail.com>
Sun, 31 Dec 2023 02:33:33 +0000 (20:33 -0600)
commitfd3281c8f17214b0f4052b5c269db1b1070c2871
treeb40a5c9ce316d2ad9bc118dedaf021309ec89ac9
parent3b378c7fa7292f6a0da6174121c00e8a716ea523
Update: Explicitly cast UTF conversion to/from 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_utf/c/utf/common.h