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
96c45b22
Commit
96c45b22
authored
Jul 10, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings (refs #258)
parent
41a78f16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/misc/net.c
src/misc/net.c
+4
-3
No files found.
src/misc/net.c
View file @
96c45b22
...
...
@@ -199,7 +199,7 @@ int __net_OpenTCP( vlc_object_t *p_this, const char *psz_host, int i_port )
if
(
connect
(
fd
,
ptr
->
ai_addr
,
ptr
->
ai_addrlen
)
)
{
in
t
i_val_size
=
sizeof
(
i_val
);
socklen_
t
i_val_size
=
sizeof
(
i_val
);
div_t
d
;
struct
timeval
tv
;
vlc_value_t
timeout
;
...
...
@@ -909,7 +909,7 @@ char *__net_Gets( vlc_object_t *p_this, int fd, v_socket_t *p_vs )
ptr
=
psz_line
+
i_line
;
}
if
(
net_Read
(
p_this
,
fd
,
p_vs
,
ptr
,
1
,
VLC_TRUE
)
!=
1
)
if
(
net_Read
(
p_this
,
fd
,
p_vs
,
(
uint8_t
*
)
ptr
,
1
,
VLC_TRUE
)
!=
1
)
{
if
(
i_line
==
0
)
{
...
...
@@ -954,7 +954,8 @@ int __net_vaPrintf( vlc_object_t *p_this, int fd, v_socket_t *p_vs,
vasprintf
(
&
psz
,
psz_fmt
,
args
);
i_size
=
strlen
(
psz
);
i_ret
=
__net_Write
(
p_this
,
fd
,
p_vs
,
psz
,
i_size
)
<
i_size
?
-
1
:
i_size
;
i_ret
=
__net_Write
(
p_this
,
fd
,
p_vs
,
(
uint8_t
*
)
psz
,
i_size
)
<
i_size
?
-
1
:
i_size
;
free
(
psz
);
return
i_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