summaryrefslogtreecommitdiff
path: root/external/firebird/c++26.patch
blob: e3ffe61b4f035d76d7bf88e67b1049755156bea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/jrd/SimilarToMatcher.h
+++ src/jrd/SimilarToMatcher.h
@@ -1455,7 +1455,7 @@
 		gds__log("%d, %s", state, debugText.c_str());
 #endif
 
-#define ENCODE_OP_STATE(op, state) ((op) | (state))
+#define ENCODE_OP_STATE(op, state) (+(op) | (state))
 
 		// Go directly to op and state with a single switch.