]> granicus.if.org Git - postgresql/commitdiff
Result of lo_read() is int, not size_t. Per Oleg Drokin.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Feb 2003 22:56:52 +0000 (22:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Feb 2003 22:56:52 +0000 (22:56 +0000)
src/bin/pg_dump/pg_dump.c

index 07faf8ac0f120770c870fd4e3e83363e7b2d2ded..1bea9cf509dcce72ad2ea84ac019e784d0f5a94f 100644 (file)
@@ -12,7 +12,7 @@
  *     by PostgreSQL
  *
  * 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                     loFd;
        char            buf[loBufSize];
-       size_t          cnt;
+       int                     cnt;
        Oid                     blobOid;
 
        if (g_verbose)