forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcb687c7
committed
Avoid inconsistent type declaration
Clang 3.3 correctly complains that a variable of type enumMultiXactStatus cannot hold a value of -1, which makes sense. Changethe declared type of the variable to int instead, and apply casting asnecessary to avoid the warning.Per notice from Andres Freund1 parenta20d7c3 commitcb687c7
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
124 | | - | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| |||
3847 | 3850 | | |
3848 | 3851 | | |
3849 | 3852 | | |
3850 | | - | |
| 3853 | + | |
3851 | 3854 | | |
3852 | 3855 | | |
3853 | 3856 | | |
| |||
3858 | 3861 | | |
3859 | 3862 | | |
3860 | 3863 | | |
3861 | | - | |
| 3864 | + | |
3862 | 3865 | | |
3863 | 3866 | | |
3864 | 3867 | | |
| |||
0 commit comments
Comments
(0)