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
0a84a035
Commit
0a84a035
authored
Sep 05, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
size_t / int confusion
parent
361d658a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/osd/osd_parser.c
src/osd/osd_parser.c
+3
-2
src/stream_output/sap.c
src/stream_output/sap.c
+2
-2
No files found.
src/osd/osd_parser.c
View file @
0a84a035
...
@@ -677,8 +677,9 @@ int osd_ConfigLoader( vlc_object_t *p_this, const char *psz_file,
...
@@ -677,8 +677,9 @@ int osd_ConfigLoader( vlc_object_t *p_this, const char *psz_file,
(
strncmp
(
ppsz_button_states
[
1
],
&
state
[
0
],
strlen
(
ppsz_button_states
[
1
])
)
!=
0
)
&&
(
strncmp
(
ppsz_button_states
[
1
],
&
state
[
0
],
strlen
(
ppsz_button_states
[
1
])
)
!=
0
)
&&
(
strncmp
(
ppsz_button_states
[
2
],
&
state
[
0
],
strlen
(
ppsz_button_states
[
2
])
)
!=
0
)
)
(
strncmp
(
ppsz_button_states
[
2
],
&
state
[
0
],
strlen
(
ppsz_button_states
[
2
])
)
!=
0
)
)
{
{
msg_Err
(
p_this
,
"invalid button state %s for button %s expected %d: unselect, select or pressed)"
,
msg_Err
(
p_this
,
"invalid button state %s for button %s "
&
state
[
0
],
&
action
[
0
],
strlen
(
&
state
[
0
]));
"expected %u: unselect, select or pressed)"
,
&
state
[
0
],
&
action
[
0
],
(
unsigned
)
strlen
(
&
state
[
0
]));
goto
error
;
goto
error
;
}
}
...
...
src/stream_output/sap.c
View file @
0a84a035
...
@@ -630,8 +630,8 @@ static char *SDPGenerate( sap_handler_t *p_sap,
...
@@ -630,8 +630,8 @@ static char *SDPGenerate( sap_handler_t *p_sap,
if
(
res
==
-
1
)
if
(
res
==
-
1
)
return
NULL
;
return
NULL
;
msg_Dbg
(
p_sap
,
"Generated SDP (%
i bytes):
\n
%s"
,
strlen
(
psz_sdp
)
,
msg_Dbg
(
p_sap
,
"Generated SDP (%
u bytes):
\n
%s"
,
psz_sdp
);
(
unsigned
)
strlen
(
psz_sdp
),
psz_sdp
);
return
psz_sdp
;
return
psz_sdp
;
}
}
...
...
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