Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4bbb7f9

Browse files
committed
Suppress Sun Studio warnings, per Stefan.
1 parent 4dbbef2 commit 4bbb7f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_resetxlog/pg_resetxlog.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
2424
* Portions Copyright (c) 1994, Regents of the University of California
2525
*
26-
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.59 2007/04/03 04:14:26 tgl Exp $
26+
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.60 2007/07/12 21:27:09 tgl Exp $
2727
*
2828
*-------------------------------------------------------------------------
2929
*/
@@ -73,11 +73,11 @@ main(int argc, char *argv[])
7373
int c;
7474
bool force = false;
7575
bool noupdate = false;
76-
uint32 set_xid_epoch = -1;
76+
uint32 set_xid_epoch = (uint32) -1;
7777
TransactionId set_xid = 0;
7878
Oid set_oid = 0;
7979
MultiXactId set_mxid = 0;
80-
MultiXactOffset set_mxoff = -1;
80+
MultiXactOffset set_mxoff = (MultiXactOffset) -1;
8181
uint32 minXlogTli = 0,
8282
minXlogId = 0,
8383
minXlogSeg = 0;

0 commit comments

Comments
 (0)