aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2021-12-30 04:23:08 +0100
committerp0358 <p0358@users.noreply.github.com>2021-12-30 04:23:08 +0100
commitac054ab2dc1370981258cafb175250142844260d (patch)
treeda4edebe79fb08c62e2a407448c4caaee6cf6bf2 /NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
parent893a78932c201978c329e2806869524c1d5f8456 (diff)
downloadNorthstarLauncher-ac054ab2dc1370981258cafb175250142844260d.tar.gz
NorthstarLauncher-ac054ab2dc1370981258cafb175250142844260d.zip
fix various random warnings
Diffstat (limited to 'NorthstarDedicatedTest/dedicatedmaterialsystem.cpp')
-rw-r--r--NorthstarDedicatedTest/dedicatedmaterialsystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
index 7097e11a..1d0e13b6 100644
--- a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
+++ b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
@@ -59,7 +59,7 @@ void InitialiseDedicatedMaterialSystem(HMODULE baseAddress)
TempReadWrite rw(ptr);
// make the game always use the error material
- *ptr = 0xE9;
+ *ptr = (char)0xE9;
*(ptr + 1) = (char)0x34;
*(ptr + 2) = (char)0x03;
*(ptr + 3) = (char)0x00;