aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Realm
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shared/Realm')
-rw-r--r--src/server/shared/Realm/RealmList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/shared/Realm/RealmList.cpp b/src/server/shared/Realm/RealmList.cpp
index 522c0faeebb..a59af781352 100644
--- a/src/server/shared/Realm/RealmList.cpp
+++ b/src/server/shared/Realm/RealmList.cpp
@@ -77,11 +77,11 @@ void RealmList::LoadBuildInfo()
build.Build = fields[4].GetUInt32();
std::string windowsHash = fields[5].GetString();
if (windowsHash.length() == build.WindowsHash.size() * 2)
- HexStrToByteArray(windowsHash, build.WindowsHash.data());
+ HexStrToByteArray(windowsHash, build.WindowsHash);
std::string macHash = fields[6].GetString();
if (macHash.length() == build.MacHash.size() * 2)
- HexStrToByteArray(macHash, build.MacHash.data());
+ HexStrToByteArray(macHash, build.MacHash);
} while (result->NextRow());
}