Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
63f23256
Commit
63f23256
authored
Oct 27, 2019
by
Yuri Chornoivan
Committed by
Vincent Pinon
Nov 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to make it compile with gcc 9
BUG: 413416 Signed-off-by:
Vincent Pinon
<
vpinon@kde.org
>
parent
5f940760
Pipeline
#9974
passed with stage
in 14 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/lib/external/media_ctrl/mediactrl.c
src/lib/external/media_ctrl/mediactrl.c
+2
-1
No files found.
src/lib/external/media_ctrl/mediactrl.c
View file @
63f23256
...
...
@@ -351,8 +351,9 @@ int probe_device(struct media_ctrl *mc)
void
find_first_device
(
struct
media_ctrl
*
mc
)
{
char
buf
[
256
];
int
i
;
for
(
int
i
=
0
;
i
<
32
;
i
++
)
{
for
(
i
=
0
;
i
<
32
;
i
++
)
{
sprintf
(
buf
,
"/dev/input/event%d"
,
i
);
int
fd
=
open
(
buf
,
O_RDONLY
);
if
(
fd
<
0
)
{
...
...
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