Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
faee6fae
Commit
faee6fae
authored
Feb 16, 2019
by
Noah Misch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress another case of MSVC warning 4146.
parent
04a87ae2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
contrib/pgcrypto/imath.c
contrib/pgcrypto/imath.c
+8
-0
No files found.
contrib/pgcrypto/imath.c
View file @
faee6fae
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
* - remove includes covered by c.h
* - remove includes covered by c.h
* - rename DEBUG to IMATH_DEBUG
* - rename DEBUG to IMATH_DEBUG
* - replace stdint.h usage with c.h equivalents
* - replace stdint.h usage with c.h equivalents
* - suppress MSVC warning 4146
*
*
* 2. Download a newer imath.c and imath.h. Transform them like in step 1.
* 2. Download a newer imath.c and imath.h. Transform them like in step 1.
* Apply to these files the diff you saved in step 1. Look for new lines
* 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,7 +2360,14 @@ s_ucmp(mp_int a, mp_int b)
static
int
static
int
s_vcmp
(
mp_int
a
,
mp_small
v
)
s_vcmp
(
mp_int
a
,
mp_small
v
)
{
{
#if _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4146)
#endif
mp_usmall
uv
=
(
v
<
0
)
?
-
(
mp_usmall
)
v
:
(
mp_usmall
)
v
;
mp_usmall
uv
=
(
v
<
0
)
?
-
(
mp_usmall
)
v
:
(
mp_usmall
)
v
;
#if _MSC_VER
#pragma warning(pop)
#endif
return
s_uvcmp
(
a
,
uv
);
return
s_uvcmp
(
a
,
uv
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment