Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
578759d7
Commit
578759d7
authored
Aug 09, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings about signed - unsigned comparisons
parent
4aed464f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+2
-2
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+5
-5
No files found.
modules/access/mms/mmsh.c
View file @
578759d7
...
...
@@ -286,12 +286,12 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
if
(
p_access
->
info
.
b_eof
)
return
0
;
while
(
i_data
<
i_len
)
while
(
i_data
<
(
size_t
)
i_len
)
{
if
(
p_access
->
info
.
i_pos
<
p_sys
->
i_start
+
p_sys
->
i_header
)
{
int
i_offset
=
p_access
->
info
.
i_pos
-
p_sys
->
i_start
;
i_copy
=
__MIN
(
p_sys
->
i_header
-
i_offset
,
i_len
-
i_data
);
i_copy
=
__MIN
(
p_sys
->
i_header
-
i_offset
,
(
int
)((
size_t
)
i_len
-
i_data
)
);
memcpy
(
&
p_buffer
[
i_data
],
&
p_sys
->
p_header
[
i_offset
],
i_copy
);
i_data
+=
i_copy
;
...
...
modules/access/mms/mmstu.c
View file @
578759d7
...
...
@@ -97,13 +97,13 @@ static int mms_ReceivePacket( access_t * );
* Merci :))
*/
/*
* Vous pourriez signer vos commentaires (m
me
si on voit bien qui peut
*
crire ce genre de trucs :p), et cri
re en anglais, bordel de
* Vous pourriez signer vos commentaires (m
�e
si on voit bien qui peut
*
�rire ce genre de trucs :p), et �rire
en anglais, bordel de
* merde :p.
*/
/*
* Alors la ouai
'est fou les gens qui cri
vent des commentaires sans les
* signer. Ca m
riterait un coup de pied dans le cul a :
)
* Alors la ouai
�est fou les gens qui �rive
nt des commentaires sans les
* signer. Ca m
�iterait un coup de pied dans le cul � :)
*/
int
E_
(
MMSTUOpen
)(
access_t
*
p_access
)
...
...
@@ -1301,7 +1301,7 @@ static int mms_ReceivePacket( access_t *p_access )
if
(
GetDWLE
(
p_sys
->
buffer_tcp
+
4
)
==
0xb00bface
)
{
if
(
GetDWLE
(
p_sys
->
buffer_tcp
+
8
)
+
16
<=
p_sys
->
i_buffer_tcp
)
(
uint32_t
)
p_sys
->
i_buffer_tcp
)
{
b_refill
=
VLC_FALSE
;
}
...
...
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