when running unqlite with AddressSanitizer check, it shows some error like "left shift of x by y places cannot be
represented in type 'int'". This is due to implicit promotion of "unsigned char" to "int" when left-shifting. This patch adds explicit cast of "sxu32" to correct the behavior.
Signed-off-by: Peter Bee bijunda1@xiaomi.com
Change-Id: I588266ff7b836dd8dab724713602243c1f91ecd8
when running unqlite with AddressSanitizer check, it shows some error like "left shift of x by y places cannot be represented in type 'int'". This is due to implicit promotion of "unsigned char" to "int" when left-shifting. This patch adds explicit cast of "sxu32" to correct the behavior.
Signed-off-by: Peter Bee bijunda1@xiaomi.com Change-Id: I588266ff7b836dd8dab724713602243c1f91ecd8