Fixed mismatched integer types.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-04-11 14:48:43 +02:00
parent bf36103c11
commit 09c71487be
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public:
_out = (uint8_t*)newLoc; _out = (uint8_t*)newLoc;
} }
auto start = reinterpret_cast<const uint8_t*>(ptr); auto start = reinterpret_cast<const uint8_t*>(ptr);
for (auto index = 0; index < size; index++) { for (asUINT index = 0; index < size; index++) {
_out[initialSize + index] = *(start + index); _out[initialSize + index] = *(start + index);
} }
_size += size; _size += size;
@ -46,7 +46,7 @@ public:
if (_index + toRead > _size) { if (_index + toRead > _size) {
toRead = _size - _index; toRead = _size - _index;
} }
for (auto index = 0; index < toRead; index++) { for (asUINT index = 0; index < toRead; index++) {
*(start + index) = _out[_index + index]; *(start + index) = _out[_index + index];
} }
_index += toRead; _index += toRead;