Fixed mismatched integer types.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
bf36103c11
commit
09c71487be
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue