Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway2007-01-26 17:45:42 +0000
committerNeil Conway2007-01-26 17:45:42 +0000
commit8ff2bccee31a7be12f653bc533b3e76c052534f8 (patch)
treef56dcf47c08037f04974372492ce5a660d303472 /contrib/intarray/_int.h
parent8924c568202122075ae666e8815bc2960496754c (diff)
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.
Diffstat (limited to 'contrib/intarray/_int.h')
-rw-r--r--contrib/intarray/_int.h2
1 files changed, 1 insertions, 1 deletions
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);