From 8ff2bccee31a7be12f653bc533b3e76c052534f8 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Fri, 26 Jan 2007 17:45:42 +0000 Subject: Squelch some VC++ compiler warnings. Mark float literals with the "f" suffix, to distinguish them from doubles. Make some function declarations and definitions use the "const" qualifier for arguments consistently. Ignore warning 4102 ("unreferenced label"), because such warnings are always emitted by bison-generated code. Patch from Magnus Hagander. --- contrib/intarray/_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/intarray') diff --git a/contrib/intarray/_int.h b/contrib/intarray/_int.h index bf10f109220..cee970d1b1f 100644 --- a/contrib/intarray/_int.h +++ b/contrib/intarray/_int.h @@ -108,7 +108,7 @@ typedef void (*formfloat) (ArrayType *, float *); /* ** useful function */ -bool isort(int4 *a, const int len); +bool isort(int4 *a, int len); ArrayType *new_intArrayType(int num); ArrayType *copy_intArrayType(ArrayType *a); ArrayType *resize_intArrayType(ArrayType *a, int num); -- cgit v1.2.3