Suppress compile warnings on OS X.
authorTom Lane
Sun, 27 Oct 2002 02:52:10 +0000 (02:52 +0000)
committerTom Lane
Sun, 27 Oct 2002 02:52:10 +0000 (02:52 +0000)
src/bin/pg_dump/pg_backup_archiver.c

index ed1ec297bcb19c7731d99a51888da59602e95b97..dd6636bfad968ba6e70a52609db0556a8309da9b 100644 (file)
@@ -15,7 +15,7 @@
  *
  *
  * IDENTIFICATION
- *     $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.61 2002/10/25 03:47:30 momjian Exp $
+ *     $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.62 2002/10/27 02:52:10 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -672,8 +672,8 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
 
    ahprintf(AH, ";     Dump Version: %d.%d-%d\n", AH->vmaj, AH->vmin, AH->vrev);
    ahprintf(AH, ";     Format: %s\n", fmtName);
-   ahprintf(AH, ";     Integer: %d bytes\n", AH->intSize);
-   ahprintf(AH, ";     Offset: %d bytes\n", AH->offSize);
+   ahprintf(AH, ";     Integer: %d bytes\n", (int) AH->intSize);
+   ahprintf(AH, ";     Offset: %d bytes\n", (int) AH->offSize);
 
    ahprintf(AH, ";\n;\n; Selected TOC Entries:\n;\n");