From b13953b1f2d83766ae20cb32ca8a89717a69c4c7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 21 May 2021 15:45:25 +1000 Subject: Cleanup: quiet -Warray-parameter warnings from GCC11 Some warnings remain that require larger changes. --- source/blender/editors/transform/transform_orientations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/transform/transform_orientations.c') diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index b3ed294845d..d97bcba161f 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -445,7 +445,7 @@ int BIF_countTransformOrientation(const bContext *C) return BLI_listbase_count(transform_orientations); } -void applyTransformOrientation(const TransformOrientation *ts, float r_mat[3][3], char *r_name) +void applyTransformOrientation(const TransformOrientation *ts, float r_mat[3][3], char r_name[64]) { if (r_name) { BLI_strncpy(r_name, ts->name, MAX_NAME); -- cgit v1.2.3