Result of lo_read() is int, not size_t. Per Oleg Drokin.
authorTom Lane <[email protected]>
Thu, 13 Feb 2003 22:56:59 +0000 (22:56 +0000)
committerTom Lane <[email protected]>
Thu, 13 Feb 2003 22:56:59 +0000 (22:56 +0000)
src/bin/pg_dump/pg_dump.c

index c4280405cf8c8e89eb4882d74ce6248f2edd3d7f..bd7da0f6114a8df486b00609ffe4a707150f6eb1 100644 (file)
@@ -1298,7 +1298,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)