diff options
| author | Locria Cyber <[email protected]> | 2023-04-03 13:21:36 +0000 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2023-04-03 16:08:46 +0200 |
| commit | 96f16f958a7f8a5be0e68e22cabc97650b894728 (patch) | |
| tree | bd9edda17b7c6f12a067a3074ccb7d190abddc37 | |
| parent | a3dfbb9c0449109e6fb6accbe7ffe0d6f4e48b2f (diff) | |
Fix 1 C UB
| -rw-r--r-- | all.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ static inline int rtype(Ref r) static inline int rsval(Ref r) { - return ((int32_t)r.val << 3) >> 3; + return (int32_t)((int64_t)r.val << 3) >> 3; } enum CmpI { |
