Content-Length: 280426 | pFad | http://github.com/postgrespro/postgres/commit/faee6fae6d09fb5d8c809946a113eb70c2968892
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a87ae commit faee6faCopy full SHA for faee6fa
contrib/pgcrypto/imath.c
@@ -17,6 +17,7 @@
17
* - remove includes covered by c.h
18
* - rename DEBUG to IMATH_DEBUG
19
* - replace stdint.h usage with c.h equivalents
20
+ * - suppress MSVC warning 4146
21
*
22
* 2. Download a newer imath.c and imath.h. Transform them like in step 1.
23
* Apply to these files the diff you saved in step 1. Look for new lines
@@ -2359,7 +2360,14 @@ s_ucmp(mp_int a, mp_int b)
2359
2360
static int
2361
s_vcmp(mp_int a, mp_small v)
2362
{
2363
+#if _MSC_VER
2364
+#pragma warning(push)
2365
+#pragma warning(disable: 4146)
2366
+#endif
2367
mp_usmall uv = (v < 0) ? -(mp_usmall) v : (mp_usmall) v;
2368
2369
+#pragma warning(pop)
2370
2371
2372
return s_uvcmp(a, uv);
2373
}
Fetched URL: http://github.com/postgrespro/postgres/commit/faee6fae6d09fb5d8c809946a113eb70c2968892
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments