Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
7032aafa
Commit
7032aafa
authored
Jan 27, 2009
by
Jean-Philippe Andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zip: remove compilation warnings in libs/unzip
parent
a2b72dbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
libs/unzip/crypt.h
libs/unzip/crypt.h
+1
-0
libs/unzip/ioapi.c
libs/unzip/ioapi.c
+7
-0
No files found.
libs/unzip/crypt.h
View file @
7032aafa
...
...
@@ -34,6 +34,7 @@
*/
static
int
decrypt_byte
(
unsigned
long
*
pkeys
,
const
unsigned
long
*
pcrc_32_tab
)
{
(
void
)
pcrc_32_tab
;
unsigned
temp
;
/* POTENTIAL BUG: temp*(temp^1) may overflow in an
* unpredictable manner on 16-bit systems; not a problem
* with any known compiler so far, though */
...
...
libs/unzip/ioapi.c
View file @
7032aafa
...
...
@@ -70,6 +70,7 @@ voidpf ZCALLBACK fopen_file_func (opaque, filename, mode)
const
char
*
filename
;
int
mode
;
{
(
void
)
opaque
;
FILE
*
file
=
NULL
;
const
char
*
mode_fopen
=
NULL
;
if
((
mode
&
ZLIB_FILEFUNC_MODE_READWRITEFILTER
)
==
ZLIB_FILEFUNC_MODE_READ
)
...
...
@@ -93,6 +94,7 @@ uLong ZCALLBACK fread_file_func (opaque, stream, buf, size)
void
*
buf
;
uLong
size
;
{
(
void
)
opaque
;
uLong
ret
;
ret
=
(
uLong
)
fread
(
buf
,
1
,
(
size_t
)
size
,
(
FILE
*
)
stream
);
return
ret
;
...
...
@@ -105,6 +107,7 @@ uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size)
const
void
*
buf
;
uLong
size
;
{
(
void
)
opaque
;
uLong
ret
;
ret
=
(
uLong
)
fwrite
(
buf
,
1
,
(
size_t
)
size
,
(
FILE
*
)
stream
);
return
ret
;
...
...
@@ -114,6 +117,7 @@ long ZCALLBACK ftell_file_func (opaque, stream)
voidpf
opaque
;
voidpf
stream
;
{
(
void
)
opaque
;
long
ret
;
ret
=
ftell
((
FILE
*
)
stream
);
return
ret
;
...
...
@@ -125,6 +129,7 @@ long ZCALLBACK fseek_file_func (opaque, stream, offset, origin)
uLong
offset
;
int
origin
;
{
(
void
)
opaque
;
int
fseek_origin
=
0
;
long
ret
;
switch
(
origin
)
...
...
@@ -149,6 +154,7 @@ int ZCALLBACK fclose_file_func (opaque, stream)
voidpf
opaque
;
voidpf
stream
;
{
(
void
)
opaque
;
int
ret
;
ret
=
fclose
((
FILE
*
)
stream
);
return
ret
;
...
...
@@ -158,6 +164,7 @@ int ZCALLBACK ferror_file_func (opaque, stream)
voidpf
opaque
;
voidpf
stream
;
{
(
void
)
opaque
;
int
ret
;
ret
=
ferror
((
FILE
*
)
stream
);
return
ret
;
...
...
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