1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Cleanup of compiler warnings.

This commit is contained in:
Bruce Momjian
1998-04-06 02:38:26 +00:00
parent 6d708c6900
commit 645146260e
4 changed files with 9 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: geqo_pool.c,v 1.6 1998/03/30 16:46:35 momjian Exp $
* $Id: geqo_pool.c,v 1.7 1998/04/06 02:38:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -42,7 +42,7 @@
#include "optimizer/geqo_recombination.h"
static int compare(void *arg1, void *arg2);
static int compare(const void *arg1, const void *arg2);
/*
* alloc-pool--
@@ -136,7 +136,7 @@ sort_pool(Pool *pool)
* don't change them!
*/
static int
compare(void *arg1, void *arg2)
compare(const void *arg1, const void *arg2)
{
Chromosome chromo1 = *(Chromosome *) arg1;
Chromosome chromo2 = *(Chromosome *) arg2;