diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-21 08:45:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-21 08:45:25 +0300 |
commit | b13953b1f2d83766ae20cb32ca8a89717a69c4c7 (patch) | |
tree | 998c81eae8dcdecbb226e86576e18af7628df3ad /source/blender/makesrna/intern/rna_curveprofile.c | |
parent | 6c6551c398e9b2ebee7a0297cc4998d6640218da (diff) |
Cleanup: quiet -Warray-parameter warnings from GCC11
Some warnings remain that require larger changes.
Diffstat (limited to 'source/blender/makesrna/intern/rna_curveprofile.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_curveprofile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curveprofile.c b/source/blender/makesrna/intern/rna_curveprofile.c index bb54d55f8bd..b3ab8cc15a2 100644 --- a/source/blender/makesrna/intern/rna_curveprofile.c +++ b/source/blender/makesrna/intern/rna_curveprofile.c @@ -137,7 +137,7 @@ static void rna_CurveProfile_remove_point(CurveProfile *profile, static void rna_CurveProfile_evaluate(struct CurveProfile *profile, ReportList *reports, float length_portion, - float *location) + float location[2]) { if (!profile->table) { BKE_report(reports, RPT_ERROR, "CurveProfile table not initialized, call initialize()"); |