aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.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/serverauthentication.cpp
parent893a78932c201978c329e2806869524c1d5f8456 (diff)
downloadNorthstarLauncher-ac054ab2dc1370981258cafb175250142844260d.tar.gz
NorthstarLauncher-ac054ab2dc1370981258cafb175250142844260d.zip
fix various random warnings
Diffstat (limited to 'NorthstarDedicatedTest/serverauthentication.cpp')
-rw-r--r--NorthstarDedicatedTest/serverauthentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/serverauthentication.cpp b/NorthstarDedicatedTest/serverauthentication.cpp
index 5351dfdc..9a80382b 100644
--- a/NorthstarDedicatedTest/serverauthentication.cpp
+++ b/NorthstarDedicatedTest/serverauthentication.cpp
@@ -160,7 +160,7 @@ bool ServerAuthenticationManager::AuthenticatePlayer(void* player, int64_t uid,
// get file length
pdataStream.seekg(0, pdataStream.end);
- int length = pdataStream.tellg();
+ auto length = pdataStream.tellg();
pdataStream.seekg(0, pdataStream.beg);
// copy pdata into buffer