Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
5a6f6c9e
Commit
5a6f6c9e
authored
Sep 01, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix a compiler warning
parent
bdf786c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/extras/libc.c
src/extras/libc.c
+1
-1
No files found.
src/extras/libc.c
View file @
5a6f6c9e
...
@@ -117,7 +117,7 @@ char *vlc_strndup( const char *string, size_t n )
...
@@ -117,7 +117,7 @@ char *vlc_strndup( const char *string, size_t n )
size_t
vlc_strnlen
(
const
char
*
psz
,
size_t
n
)
size_t
vlc_strnlen
(
const
char
*
psz
,
size_t
n
)
{
{
const
char
*
psz_end
=
memchr
(
psz
,
0
,
n
);
const
char
*
psz_end
=
memchr
(
psz
,
0
,
n
);
return
psz_end
?
(
psz_end
-
psz
)
:
n
;
return
psz_end
?
(
size_t
)(
psz_end
-
psz
)
:
n
;
}
}
#endif
#endif
...
...
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