1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +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:52 +00:00
parent c4ebf7b150
commit 57892e74db

View File

@ -12,7 +12,7 @@
* by PostgreSQL * by PostgreSQL
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.317 2003/02/13 04:54:16 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.318 2003/02/13 22:56:52 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1311,7 +1311,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)