mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Big warnings cleanup for Solaris/GCC. Down to about 40 now, but
we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.37 2000/06/05 07:28:52 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.38 2000/06/14 18:17:44 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -88,12 +88,12 @@ int2vectorin(PG_FUNCTION_ARGS)
|
||||
{
|
||||
if (sscanf(intString, "%hd", &result[slot]) != 1)
|
||||
break;
|
||||
while (*intString && isspace(*intString))
|
||||
while (*intString && isspace((int) *intString))
|
||||
intString++;
|
||||
while (*intString && !isspace(*intString))
|
||||
while (*intString && !isspace((int) *intString))
|
||||
intString++;
|
||||
}
|
||||
while (*intString && isspace(*intString))
|
||||
while (*intString && isspace((int) *intString))
|
||||
intString++;
|
||||
if (*intString)
|
||||
elog(ERROR, "int2vector value has too many values");
|
||||
|
Reference in New Issue
Block a user