1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-25 12:03:53 +03:00

Result of lo_read() is int, not size_t. Per Oleg Drokin.

This commit is contained in:
Tom Lane
2003-02-13 22:56:59 +00:00
parent c6d801f3bf
commit 5dc8478d20

View File

@@ -22,7 +22,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.305.2.2 2002/12/27 17:10:55 tgl Exp $ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.305.2.3 2003/02/13 22:56:59 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@@ -1298,7 +1298,7 @@ dumpBlobs(Archive *AH, char *junkOid, void *junkVal)
int i; int i;
int loFd; int loFd;
char buf[loBufSize]; char buf[loBufSize];
size_t cnt; int cnt;
Oid blobOid; Oid blobOid;
if (g_verbose) if (g_verbose)