mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user