blob: a30d86ef1ca946f04885998560ec664e41555982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Fix build with GCC 6.
Gentoo-bug: 594188
--- a/hupnp/src/devicehosting/devicehost/hservermodel_creator_p.cpp
+++ b/hupnp/src/devicehosting/devicehost/hservermodel_creator_p.cpp
@@ -493,7 +493,7 @@
QString("Failed to initialize device [%1]").arg(
deviceInfo.udn().toString());
- return false;
+ return NULL;
}
device->h_ptr->m_deviceDescription =
@@ -560,7 +560,7 @@
"[%2]").arg(device->info().deviceType().toString(),
dt.toString());
- return false;
+ return NULL;
}
}
}
|