Avoid inconsistent type declaration
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 25 Jun 2013 20:36:29 +0000 (16:36 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 25 Jun 2013 20:41:47 +0000 (16:41 -0400)
commit4ca50e071024421e3b75bf7e48fda08141360636
tree7eb04c0a0939c9c1214410a8af91f521a2ef10d2
parent81166a2f7e1e792a746c907fe9e0318cc736311a
Avoid inconsistent type declaration

Clang 3.3 correctly complains that a variable of type enum
MultiXactStatus cannot hold a value of -1, which makes sense.  Change
the declared type of the variable to int instead, and apply casting as
necessary to avoid the warning.

Per notice from Andres Freund
src/backend/access/heap/heapam.c