Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
49dd5321
Commit
49dd5321
authored
8 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
extmod/uzlib/: Update uzlib to v2.0.2.
Consistently use stdint types. Fixes stmhal build.
parent
64c5a943
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
extmod/uzlib/adler32.c
+1
-1
1 addition, 1 deletion
extmod/uzlib/adler32.c
extmod/uzlib/crc32.c
+1
-1
1 addition, 1 deletion
extmod/uzlib/crc32.c
with
2 additions
and
2 deletions
extmod/uzlib/adler32.c
+
1
−
1
View file @
49dd5321
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
#define A32_BASE 65521
#define A32_BASE 65521
#define A32_NMAX 5552
#define A32_NMAX 5552
u
nsigned
in
t
uzlib_adler32
(
const
void
*
data
,
unsigned
int
length
,
u
nsigned
in
t
prev_sum
/* 1 */
)
u
int32_
t
uzlib_adler32
(
const
void
*
data
,
unsigned
int
length
,
u
int32_
t
prev_sum
/* 1 */
)
{
{
const
unsigned
char
*
buf
=
(
const
unsigned
char
*
)
data
;
const
unsigned
char
*
buf
=
(
const
unsigned
char
*
)
data
;
...
...
This diff is collapsed.
Click to expand it.
extmod/uzlib/crc32.c
+
1
−
1
View file @
49dd5321
...
@@ -46,7 +46,7 @@ static const unsigned int tinf_crc32tab[16] = {
...
@@ -46,7 +46,7 @@ static const unsigned int tinf_crc32tab[16] = {
};
};
/* crc is previous value for incremental computation, 0xffffffff initially */
/* crc is previous value for incremental computation, 0xffffffff initially */
u
nsigned
in
t
uzlib_crc32
(
const
void
*
data
,
unsigned
int
length
,
u
nsigned
in
t
crc
)
u
int32_
t
uzlib_crc32
(
const
void
*
data
,
unsigned
int
length
,
u
int32_
t
crc
)
{
{
const
unsigned
char
*
buf
=
(
const
unsigned
char
*
)
data
;
const
unsigned
char
*
buf
=
(
const
unsigned
char
*
)
data
;
unsigned
int
i
;
unsigned
int
i
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment