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
18173044
Commit
18173044
authored
Jan 31, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skins: fix compilation with zlib 1.2.6
Close #5964
parent
460cdb56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/skins2/src/theme_loader.cpp
modules/gui/skins2/src/theme_loader.cpp
+3
-3
No files found.
modules/gui/skins2/src/theme_loader.cpp
View file @
18173044
...
@@ -751,7 +751,7 @@ int gzclose_frontend( int fd )
...
@@ -751,7 +751,7 @@ int gzclose_frontend( int fd )
{
{
void
*
toClose
=
currentGzVp
;
void
*
toClose
=
currentGzVp
;
currentGzVp
=
NULL
;
currentGzFd
=
-
1
;
currentGzVp
=
NULL
;
currentGzFd
=
-
1
;
return
gzclose
(
toClose
);
return
gzclose
(
(
gzFile
)
toClose
);
}
}
return
-
1
;
return
-
1
;
}
}
...
@@ -760,7 +760,7 @@ int gzread_frontend( int fd, void *p_buffer, size_t i_length )
...
@@ -760,7 +760,7 @@ int gzread_frontend( int fd, void *p_buffer, size_t i_length )
{
{
if
(
currentGzVp
!=
NULL
&&
fd
!=
-
1
)
if
(
currentGzVp
!=
NULL
&&
fd
!=
-
1
)
{
{
return
gzread
(
currentGzVp
,
p_buffer
,
i_length
);
return
gzread
(
(
gzFile
)
currentGzVp
,
p_buffer
,
i_length
);
}
}
return
-
1
;
return
-
1
;
}
}
...
@@ -769,7 +769,7 @@ int gzwrite_frontend( int fd, const void * p_buffer, size_t i_length )
...
@@ -769,7 +769,7 @@ int gzwrite_frontend( int fd, const void * p_buffer, size_t i_length )
{
{
if
(
currentGzVp
!=
NULL
&&
fd
!=
-
1
)
if
(
currentGzVp
!=
NULL
&&
fd
!=
-
1
)
{
{
return
gzwrite
(
currentGzVp
,
const_cast
<
void
*>
(
p_buffer
),
i_length
);
return
gzwrite
(
(
gzFile
)
currentGzVp
,
const_cast
<
void
*>
(
p_buffer
),
i_length
);
}
}
return
-
1
;
return
-
1
;
}
}
...
...
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