Cleanup: use 'u' prefixed integer types for brevity & cast style
To use function style cast '(unsigned char)x' can't be replaced by 'unsigned char(x)'.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
#include "ExportSettings.h"
|
||||
#include "collada_utils.h"
|
||||
|
||||
float bc_get_float_value(const COLLADAFW::FloatOrDoubleArray &array, unsigned int index)
|
||||
float bc_get_float_value(const COLLADAFW::FloatOrDoubleArray &array, uint index)
|
||||
{
|
||||
if (index >= array.getValuesCount()) {
|
||||
return 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user