From 380bd04c1658795c77b3b808ee766347188fab5f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 21 Oct 2004 19:28:36 +0000 Subject: Standardize on using the Min, Max, and Abs macros that are in our c.h file, getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros. --- contrib/intarray/_int_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/intarray/_int_tool.c') diff --git a/contrib/intarray/_int_tool.c b/contrib/intarray/_int_tool.c index d5f169f7c8..216a4105c7 100644 --- a/contrib/intarray/_int_tool.c +++ b/contrib/intarray/_int_tool.c @@ -137,7 +137,7 @@ inner_int_inter(ArrayType *a, ArrayType *b) nb = ARRNELEMS(b); da = ARRPTR(a); db = ARRPTR(b); - r = new_intArrayType(min(na, nb)); + r = new_intArrayType(Min(na, nb)); dr = ARRPTR(r); i = j = 0; -- cgit v1.2.1