- Notifications
You must be signed in to change notification settings - Fork5
Commit8722a1a
committed
Use the proper macro to convert a bool to a Datum.
The original coding wasvar->value = (Datum) state;which is bogus, and then in commit2f0f7b4it was "corrected" tovar->value = PointerGetDatum(state);which is a faithful translation but still wrong.This seems purely cosmetic, though, so no need for a back-patch.Pavel Stehule1 parent4a90181 commit8722a1a
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5850 | 5850 | | |
5851 | 5851 | | |
5852 | 5852 | | |
5853 | | - | |
5854 | | - | |
| 5853 | + | |
5855 | 5854 | | |
5856 | 5855 | | |
5857 | 5856 | | |
| |||
5860 | 5859 | | |
5861 | 5860 | | |
5862 | 5861 | | |
5863 | | - | |
| 5862 | + | |
5864 | 5863 | | |
5865 | 5864 | | |
5866 | 5865 | | |
| |||
0 commit comments
Comments
(0)