Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
20ffb0f4
Unverified
Commit
20ffb0f4
authored
5 years ago
by
Oleh Nikolaiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2002 fix gcc-8 compilation warning
parent
a74b2605
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Point.c
secure_enclave/Point.c
+2
-2
No files found.
secure_enclave/Point.c
View file @
20ffb0f4
...
@@ -370,9 +370,9 @@ char* point_compress(point P)
...
@@ -370,9 +370,9 @@ char* point_compress(point P)
//Determine if it's odd or even
//Determine if it's odd or even
mpz_mod_ui
(
t1
,
P
->
y
,
2
);
mpz_mod_ui
(
t1
,
P
->
y
,
2
);
if
(
mpz_cmp_ui
(
t1
,
0
))
if
(
mpz_cmp_ui
(
t1
,
0
))
strncpy
(
result
,
"02"
,
2
);
strncpy
(
result
,
"02"
,
3
);
else
else
strncpy
(
result
,
"03"
,
2
);
strncpy
(
result
,
"03"
,
3
);
mpz_clear
(
t1
);
mpz_clear
(
t1
);
...
...
This diff is collapsed.
Click to expand it.
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