git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 81166a2) | patch
Avoid inconsistent type declaration
2013年6月25日 20:36:29 +0000 (16:36 -0400)
2013年6月25日 20:41:47 +0000 (16:41 -0400)
commit 4ca50e071024421e3b75bf7e48fda08141360636
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 diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /