diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-10 21:13:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-10 21:15:49 +0300 |
commit | 5357474ad8b81ce0e41907d99e9636fcc7c3a6f6 (patch) | |
tree | 76291a130ec317cbee9911a43cd21992ad79a033 /source/blender/editors/animation/keyframes_general.c | |
parent | ab3f037ccc3f5969a44120d60c7e44ab405ef935 (diff) |
Fix building with very strict flags, use size_t rather than int for string length.
Reported on bf-committers.
Diffstat (limited to 'source/blender/editors/animation/keyframes_general.c')
-rw-r--r-- | source/blender/editors/animation/keyframes_general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index 6d73cd0c04c..6acff134a97 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -747,7 +747,7 @@ static tAnimCopybufItem *pastebuf_match_index_only(FCurve *fcu, const short from static void do_curve_mirror_flippping(tAnimCopybufItem *aci, BezTriple *bezt) { if (aci->is_bone) { - int slength = strlen(aci->rna_path); + const size_t slength = strlen(aci->rna_path); bool flip = false; if (BLI_strn_endswith(aci->rna_path, "location", slength) && aci->array_index == 0) flip = true; |