This commit is contained in:
Branimir Karadžić
2017-02-07 16:04:58 -08:00
parent 7a89d512da
commit 832995b43a
2 changed files with 2 additions and 2 deletions

View File

@@ -246,7 +246,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;

View File

@@ -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;