Fixes
This commit is contained in:
parent
a13146113f
commit
e6561f15d1
2 changed files with 8 additions and 6 deletions
|
@ -147,8 +147,9 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
|
||||||
|
|
||||||
if (response != NULL)
|
if (response != NULL)
|
||||||
{
|
{
|
||||||
const char* name;
|
char* name;
|
||||||
const char* address;
|
char* dummy;
|
||||||
|
char* address;
|
||||||
dbus_uint32_t type;
|
dbus_uint32_t type;
|
||||||
dbus_uint32_t mode;
|
dbus_uint32_t mode;
|
||||||
dbus_uint32_t state;
|
dbus_uint32_t state;
|
||||||
|
@ -157,7 +158,7 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
if (dbus_message_get_args(response, NULL,
|
if (dbus_message_get_args(response, NULL,
|
||||||
DBUS_TYPE_STRING, &banner,
|
DBUS_TYPE_STRING, &dummy,
|
||||||
DBUS_TYPE_STRING, &name,
|
DBUS_TYPE_STRING, &name,
|
||||||
DBUS_TYPE_UINT32, &type,
|
DBUS_TYPE_UINT32, &type,
|
||||||
DBUS_TYPE_UINT32, &number,
|
DBUS_TYPE_UINT32, &number,
|
||||||
|
|
|
@ -147,8 +147,9 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
|
||||||
|
|
||||||
if (response != NULL)
|
if (response != NULL)
|
||||||
{
|
{
|
||||||
const char* name;
|
char* name;
|
||||||
const char* address;
|
char* dummy;
|
||||||
|
char* address;
|
||||||
dbus_uint32_t type;
|
dbus_uint32_t type;
|
||||||
dbus_uint32_t mode;
|
dbus_uint32_t mode;
|
||||||
dbus_uint32_t state;
|
dbus_uint32_t state;
|
||||||
|
@ -157,7 +158,7 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
if (dbus_message_get_args(response, NULL,
|
if (dbus_message_get_args(response, NULL,
|
||||||
DBUS_TYPE_STRING, &banner,
|
DBUS_TYPE_STRING, &dummy,
|
||||||
DBUS_TYPE_STRING, &name,
|
DBUS_TYPE_STRING, &name,
|
||||||
DBUS_TYPE_UINT32, &type,
|
DBUS_TYPE_UINT32, &type,
|
||||||
DBUS_TYPE_UINT32, &number,
|
DBUS_TYPE_UINT32, &number,
|
||||||
|
|
Loading…
Add table
Reference in a new issue