]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:42:06 +0000 (16:42 -0400)
commitcb687c751c8d2e9eb097339f8920ca8fcf29fc47
treeb774052defa41e2554c6192e8537e98abc36cefa
parenta20d7c3bc3517e0c390a08d4f589fded953c9710
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