Fix warning
The call to sprintf was causing a warning in vs2015 because of wrong type.pull/953/head
parent
28c9f56c5e
commit
e888e72599
|
@ -280,7 +280,7 @@ bool OpenDDLExport::writeValueType( Value::ValueType type, size_t numItems, std:
|
||||||
statement += "[";
|
statement += "[";
|
||||||
char buffer[ 256 ];
|
char buffer[ 256 ];
|
||||||
::memset( buffer, '\0', 256 * sizeof( char ) );
|
::memset( buffer, '\0', 256 * sizeof( char ) );
|
||||||
sprintf( buffer, "%d", numItems );
|
sprintf( buffer, "%d", int(numItems) );
|
||||||
statement += buffer;
|
statement += buffer;
|
||||||
statement += "]";
|
statement += "]";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue