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:
2022-09-25 17:04:52 +10:00
parent c9e35c2ced
commit 891949cbb4
226 changed files with 1385 additions and 1537 deletions

View File

@@ -687,7 +687,7 @@ std::string AnimationExporter::collada_interpolation_source(const BCAnimationCur
std::vector<float> frames;
curve.get_frames(frames);
for (unsigned int i = 0; i < curve.sample_count(); i++) {
for (uint i = 0; i < curve.sample_count(); i++) {
float frame = frames[i];
int ipo = curve.get_interpolation_type(frame);
if (ipo == BEZT_IPO_BEZ) {