@@ -252,7 +252,7 @@ namespace bx
int32_t write(WriterI* _writer, const char* _format, va_list _argList, Error* _err)
{
- MemoryReader reader(_format, strnlen(_format) );
+ MemoryReader reader(_format, uint32_t(strnlen(_format) ) );
int32_t size = 0;
@@ -388,7 +388,7 @@ namespace bx
if (1 < _max)
- StaticMemoryBlockWriter writer(_out, _max-1);
+ StaticMemoryBlockWriter writer(_out, uint32_t(_max-1) );
_out[_max-1] = '\0';
Error err;