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
8eb1349b
Commit
8eb1349b
authored
Sep 10, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SFTP: use the correct variable types
parent
d6b04cde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/access/sftp.c
modules/access/sftp.c
+3
-3
No files found.
modules/access/sftp.c
View file @
8eb1349b
...
...
@@ -76,7 +76,7 @@ vlc_module_end ()
/*****************************************************************************
* Local prototypes
*****************************************************************************/
static
ssize_t
Read
(
access_t
*
,
void
*
,
size_t
);
static
ssize_t
Read
(
access_t
*
,
uint8_t
*
,
size_t
);
static
int
Seek
(
access_t
*
,
uint64_t
);
static
int
Control
(
access_t
*
,
int
,
va_list
);
...
...
@@ -351,14 +351,14 @@ static void Close( vlc_object_t* p_this )
}
static
ssize_t
Read
(
access_t
*
p_access
,
void
*
buf
,
size_t
len
)
static
ssize_t
Read
(
access_t
*
p_access
,
uint8_t
*
buf
,
size_t
len
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
if
(
p_access
->
info
.
b_eof
)
return
NULL
;
ssize_t
val
=
libssh2_sftp_read
(
p_sys
->
file
,
buf
,
len
);
ssize_t
val
=
libssh2_sftp_read
(
p_sys
->
file
,
(
char
*
)
buf
,
len
);
if
(
val
<
0
)
{
p_access
->
info
.
b_eof
=
true
;
...
...
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