Change length type of BytesToHexString

This commit is contained in:
Jonathan G Rennison
2023-07-05 08:46:01 +01:00
parent f3adb13e34
commit 0f63f9d637
3 changed files with 3 additions and 3 deletions

View File

@@ -1299,7 +1299,7 @@ static void NetworkGenerateServerId()
_settings_client.network.network_id = GenerateUid("OpenTTD Server ID");
}
std::string BytesToHexString(const byte *data, uint length)
std::string BytesToHexString(const byte *data, size_t length)
{
std::string hex_output;
hex_output.resize(length * 2);