Compare commits

...

2 Commits

Author SHA1 Message Date
Yuri Chornoivan
63f232560e Try to make it compile with gcc 9
BUG: 413416

Signed-off-by: Vincent Pinon <vpinon@kde.org>
2019-11-05 07:59:39 +01:00
Christoph Feck
5f9407608d GIT_SILENT Upgrade KDE Applications version to 19.08.3. 2019-11-01 22:54:33 +01:00
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ project(Kdenlive)
# KDE Application Version, managed by release script
set(KDE_APPLICATIONS_VERSION_MAJOR "19")
set(KDE_APPLICATIONS_VERSION_MINOR "08")
set(KDE_APPLICATIONS_VERSION_MICRO "2")
set(KDE_APPLICATIONS_VERSION_MICRO "3")
set(KDENLIVE_VERSION ${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO})

View File

@@ -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) {