From ec8a26e040966bec61ab08ae1d4acbf41db08a5c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 4 Apr 2012 01:02:15 +0000 Subject: use 'const float' when passing readonly colors, and include array size. --- source/blender/blenkernel/intern/colortools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/colortools.c') diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c index 8ec3ad567a2..25391a34689 100644 --- a/source/blender/blenkernel/intern/colortools.c +++ b/source/blender/blenkernel/intern/colortools.c @@ -867,7 +867,7 @@ DO_INLINE int get_bin_float(float f) return bin; } -DO_INLINE void save_sample_line(Scopes *scopes, const int idx, const float fx, float *rgb, float *ycc) +DO_INLINE void save_sample_line(Scopes *scopes, const int idx, const float fx, const float rgb[3], const float ycc[3]) { float yuv[3]; -- cgit v1.2.3