mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-13 00:45:03 -04:00
Fixed bug with Miff, TPF and TAB tools not working.
This commit is contained in:
@@ -226,11 +226,11 @@ inline void imemcpy(void *destination, const void *source, int length)
|
|||||||
* @param length Number of bytes to copy
|
* @param length Number of bytes to copy
|
||||||
*/
|
*/
|
||||||
|
|
||||||
inline void *memmove(void *destination, const void *source, int32_t length)
|
inline void *memmove(void *destination, const void *source, int length)
|
||||||
{
|
{
|
||||||
DEBUG_FATAL(!destination, ("nullptr destination arg"));
|
DEBUG_FATAL(!destination, ("nullptr destination arg"));
|
||||||
DEBUG_FATAL(!source, ("nullptr source arg"));
|
DEBUG_FATAL(!source, ("nullptr source arg"));
|
||||||
return memmove(destination, source, static_cast<int32_t>(length));
|
return memmove(destination, source, static_cast<size_t>(length));
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user