mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 07:12:20 -08:00
ubsan cleanup
This commit is contained in:
1 parent
fbc3cbd6eb
commit
1f51c6f25b
16 files changed
+180
-110
No files matched your search
@@ -29,7 +29,7 @@ cv_numeric_from_data_range(U8 *first, U8 *opl)
|
||||
CV_NumericParsed result = {0};
|
||||
if(first + 2 <= opl)
|
||||
{
|
||||
U16 x = *(U16*)first;
|
||||
U16 x = memory_read16(first);
|
||||
if(x < 0x8000)
|
||||
{
|
||||
result.kind = CV_NumericKind_USHORT;
|
||||
|
||||
Reference in new issue
Block a user