Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
X
xxtea-c
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
xxtea-c
Commits
0fc154f0
Commit
0fc154f0
authored
Dec 06, 2016
by
leekangwoo
Committed by
GitHub
Dec 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a type conversion error when compiling on Android
parent
a8877581
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xxtea.c
xxtea.c
+2
-2
No files found.
xxtea.c
View file @
0fc154f0
...
...
@@ -251,10 +251,10 @@ static uint8_t * xxtea_ubyte_decrypt(const uint8_t * data, size_t len, const uin
void
*
xxtea_encrypt
(
const
void
*
data
,
size_t
len
,
const
void
*
key
,
size_t
*
out_len
)
{
FIXED_KEY
return
xxtea_ubyte_encrypt
(
data
,
len
,
fixed_key
,
out_len
);
return
xxtea_ubyte_encrypt
(
(
const
uint8_t
*
)
data
,
len
,
fixed_key
,
out_len
);
}
void
*
xxtea_decrypt
(
const
void
*
data
,
size_t
len
,
const
void
*
key
,
size_t
*
out_len
)
{
FIXED_KEY
return
xxtea_ubyte_decrypt
(
data
,
len
,
fixed_key
,
out_len
);
return
xxtea_ubyte_decrypt
(
(
const
uint8_t
*
)
data
,
len
,
fixed_key
,
out_len
);
}
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