From b8de70d264498ee0630ceb935f0617d03448eaac Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@cs.stanford.edu>
Date: Sat, 1 May 2021 15:54:18 -0700
Subject: [PATCH] box-whisker: Use consistent array size for
 box_whisker_hinges().

The prototype said the 'hinges' parameter has 2 elements but the definition
said that it has 3.  This fixes the prototype.

This is harmless because the C standard says these are actually equivalent.

Reported by GCC 11.
---
 src/math/box-whisker.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/math/box-whisker.h b/src/math/box-whisker.h
index ccafef1fc9..2dd5b5c609 100644
--- a/src/math/box-whisker.h
+++ b/src/math/box-whisker.h
@@ -57,7 +57,7 @@ struct box_whisker * box_whisker_create (const struct tukey_hinges *,
 
 void box_whisker_whiskers (const struct box_whisker *bw, double whiskers[2]);
 
-void box_whisker_hinges (const struct box_whisker *bw, double hinges[2]);
+void box_whisker_hinges (const struct box_whisker *bw, double hinges[3]);
 
 const struct ll_list * box_whisker_outliers (const struct box_whisker *bw);
 
-- 
2.30.2