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
4b797767
Commit
4b797767
authored
Apr 24, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix signess.
parent
0b574db7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/libvlc.c
src/libvlc.c
+2
-2
src/modules/cache.c
src/modules/cache.c
+3
-3
No files found.
src/libvlc.c
View file @
4b797767
...
...
@@ -1424,7 +1424,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
:
!
strstr
(
p_parser
->
psz_object_name
,
psz_search
)
)
)
{
char
*
const
*
pp_shortcuts
=
p_parser
->
pp_shortcuts
;
int
i
;
unsigned
i
;
for
(
i
=
0
;
i
<
p_parser
->
i_shortcuts
;
i
++
)
{
if
(
b_strict
?
!
strcmp
(
psz_search
,
pp_shortcuts
[
i
]
)
...
...
@@ -1862,7 +1862,7 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
if
(
b_verbose
)
{
char
*
const
*
pp_shortcuts
=
p_parser
->
pp_shortcuts
;
for
(
int
i
=
0
;
i
<
p_parser
->
i_shortcuts
;
i
++
)
for
(
unsigned
i
=
0
;
i
<
p_parser
->
i_shortcuts
;
i
++
)
{
if
(
strcmp
(
pp_shortcuts
[
i
],
p_parser
->
psz_object_name
)
)
{
...
...
src/modules/cache.c
View file @
4b797767
...
...
@@ -96,7 +96,7 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, const char *dir )
{
char
*
psz_filename
;
FILE
*
file
;
int
j
,
i_size
,
i_read
;
int
i_size
,
i_read
;
char
p_cachestring
[
sizeof
(
CACHE_STRING
)];
size_t
i_cache
;
module_cache_t
**
pp_cache
=
NULL
;
...
...
@@ -263,7 +263,7 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, const char *dir )
{
pp_cache
[
i
]
->
p_module
->
pp_shortcuts
=
xmalloc
(
sizeof
(
char
**
)
*
pp_cache
[
i
]
->
p_module
->
i_shortcuts
);
for
(
j
=
0
;
j
<
pp_cache
[
i
]
->
p_module
->
i_shortcuts
;
j
++
)
for
(
unsigned
j
=
0
;
j
<
pp_cache
[
i
]
->
p_module
->
i_shortcuts
;
j
++
)
LOAD_STRING
(
pp_cache
[
i
]
->
p_module
->
pp_shortcuts
[
j
]
);
}
...
...
@@ -301,7 +301,7 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, const char *dir )
else
{
p_module
->
pp_shortcuts
=
xmalloc
(
sizeof
(
char
**
)
*
p_module
->
i_shortcuts
);
for
(
j
=
0
;
j
<
p_module
->
i_shortcuts
;
j
++
)
for
(
unsigned
j
=
0
;
j
<
p_module
->
i_shortcuts
;
j
++
)
LOAD_STRING
(
p_module
->
pp_shortcuts
[
j
]
);
}
...
...
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