summaryrefslogtreecommitdiff
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-29 03:32:21 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-29 19:23:02 +0300
commitd52b917c549719addf45788413210ea1700cd0d5 (patch)
treefde2b07530985399054640435b638d00bbb4f10c /src/core/Radar.cpp
parent3dfffdf35109c22f97fd1a1139ba4358d43fdc90 (diff)
Some regular fixes and UB fixes
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r--src/core/Radar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 116e9e94..4fd7f1a5 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -908,7 +908,7 @@ int32 CRadar::GetNewUniqueBlipIndex(int32 i)
uint32 CRadar::GetRadarTraceColour(uint32 color, bool bright)
{
- int32 c;
+ uint32 c;
switch (color) {
case RADAR_TRACE_RED:
if (bright)