mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Fix update to count width in GetAllMappings
This commit is contained in:
parent
0cd8a5cd41
commit
d2c7235fed
2 changed files with 2 additions and 2 deletions
|
@ -529,7 +529,7 @@ void AssetServer::handleGetMappingOperation(ReceivedMessage& message, SharedNode
|
|||
void AssetServer::handleGetAllMappingOperation(ReceivedMessage& message, SharedNodePointer senderNode, NLPacketList& replyPacket) {
|
||||
replyPacket.writePrimitive(AssetServerError::NoError);
|
||||
|
||||
uint32_t count = _fileMappings.size();
|
||||
uint32_t count = (uint32_t)_fileMappings.size();
|
||||
|
||||
replyPacket.writePrimitive(count);
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ void GetAllMappingsRequest::doStart() {
|
|||
|
||||
|
||||
if (!_error) {
|
||||
int numberOfMappings;
|
||||
uint32_t numberOfMappings;
|
||||
message->readPrimitive(&numberOfMappings);
|
||||
for (auto i = 0; i < numberOfMappings; ++i) {
|
||||
auto path = message->readString();
|
||||
|
|
Loading…
Reference in a new issue