Suppress Sun Studio warnings, per Stefan.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jul 2007 21:27:09 +0000 (21:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jul 2007 21:27:09 +0000 (21:27 +0000)
src/bin/pg_resetxlog/pg_resetxlog.c

index c0a48128b26575a8fc2b9562c9be5585cc1517d9..5d29ff94cf6c07cebafbf4597c458d33f21bf9cb 100644 (file)
@@ -23,7 +23,7 @@
  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.59 2007/04/03 04:14:26 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.60 2007/07/12 21:27:09 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -73,11 +73,11 @@ main(int argc, char *argv[])
    int         c;
    bool        force = false;
    bool        noupdate = false;
-   uint32      set_xid_epoch = -1;
+   uint32      set_xid_epoch = (uint32) -1;
    TransactionId set_xid = 0;
    Oid         set_oid = 0;
    MultiXactId set_mxid = 0;
-   MultiXactOffset set_mxoff = -1;
+   MultiXactOffset set_mxoff = (MultiXactOffset) -1;
    uint32      minXlogTli = 0,
                minXlogId = 0,
                minXlogSeg = 0;