Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b219b338
Commit
b219b338
authored
Sep 21, 2012
by
Rémi Denis-Courmont
Browse files
Win32: fix open mode signedness
parent
b616a490
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/win32/filesystem.c
View file @
b219b338
...
...
@@ -66,7 +66,7 @@ static wchar_t *widen_path (const char *path)
int
vlc_open
(
const
char
*
filename
,
int
flags
,
...)
{
unsigned
int
mode
=
0
;
int
mode
=
0
;
va_list
ap
;
flags
|=
O_NOINHERIT
;
/* O_CLOEXEC */
...
...
@@ -76,7 +76,7 @@ int vlc_open (const char *filename, int flags, ...)
va_start
(
ap
,
flags
);
if
(
flags
&
O_CREAT
)
mode
=
va_arg
(
ap
,
unsigned
int
);
mode
=
va_arg
(
ap
,
int
);
va_end
(
ap
);
/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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