From 300e28888f63ee469244612f14fec5216eddef33 Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Tue, 6 Feb 2001 02:02:27 +0000 Subject: [PATCH] Now that I look at it, PQoidValue() ain't quite right either. --- src/interfaces/libpq/fe-exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c index 36b64f55f10..6e03222a0d6 100644 --- a/src/interfaces/libpq/fe-exec.c +++ b/src/interfaces/libpq/fe-exec.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.99 2001/02/06 02:00:09 tgl Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.100 2001/02/06 02:02:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -2049,7 +2049,7 @@ Oid PQoidValue(const PGresult *res) { char *endptr = NULL; - long int result; + unsigned long result; if (!res || !res->cmdStatus || strncmp(res->cmdStatus, "INSERT ", 7) != 0) return InvalidOid; -- GitLab