mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-08 19:12:17 +00:00
Cleanups
This commit is contained in:
@@ -95,7 +95,7 @@ int ByteArrayInputStream::read(byteArray b, unsigned int offset, unsigned int le
|
||||
}
|
||||
|
||||
int k = min(length, count - pos);
|
||||
XMemCpy(&b[offset], &buf[pos], k);
|
||||
memcpy(&b[offset], &buf[pos], k);
|
||||
// std::copy( buf->data+pos, buf->data+pos+k, b->data + offset ); // Or this instead?
|
||||
|
||||
pos += k;
|
||||
|
||||
Reference in New Issue
Block a user