Cleanup: Fix type-limits warning with GCC
Pull Request: https://projects.blender.org/blender/blender/pulls/138020
This commit is contained in:
committed by
Jesse Yurkovich
parent
347e294959
commit
cdaa1ebe56
@@ -35,7 +35,7 @@ FCurve *create_fcurve(blender::animrig::Channelbag &channelbag,
|
||||
}
|
||||
|
||||
/* Utility: fill in a single fcurve sample at the provided index. */
|
||||
void set_fcurve_sample(FCurve *fcu, uint sample_index, const float frame, const float value)
|
||||
void set_fcurve_sample(FCurve *fcu, int64_t sample_index, const float frame, const float value)
|
||||
{
|
||||
BLI_assert(sample_index >= 0 && sample_index < fcu->totvert);
|
||||
BezTriple &bez = fcu->bezt[sample_index];
|
||||
|
||||
@@ -36,7 +36,7 @@ FCurve *create_fcurve(blender::animrig::Channelbag &channelbag,
|
||||
const int sample_count);
|
||||
|
||||
/* Utility: fill in a single fcurve sample at the provided index. */
|
||||
void set_fcurve_sample(FCurve *fcu, uint sample_index, const float frame, const float value);
|
||||
void set_fcurve_sample(FCurve *fcu, int64_t sample_index, const float frame, const float value);
|
||||
|
||||
/**
|
||||
* Recursively invoke the given function on the given armature object's bones.
|
||||
|
||||
Reference in New Issue
Block a user