Commit e6561f15 authored by Artem Prilutskiy's avatar Artem Prilutskiy

Fixes

parent a1314611
......@@ -147,8 +147,9 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
if (response != NULL)
{
const char* name;
const char* address;
char* name;
char* dummy;
char* address;
dbus_uint32_t type;
dbus_uint32_t mode;
dbus_uint32_t state;
......@@ -157,7 +158,7 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
int count;
if (dbus_message_get_args(response, NULL,
DBUS_TYPE_STRING, &banner,
DBUS_TYPE_STRING, &dummy,
DBUS_TYPE_STRING, &name,
DBUS_TYPE_UINT32, &type,
DBUS_TYPE_UINT32, &number,
......
......@@ -147,8 +147,9 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
if (response != NULL)
{
const char* name;
const char* address;
char* name;
char* dummy;
char* address;
dbus_uint32_t type;
dbus_uint32_t mode;
dbus_uint32_t state;
......@@ -157,7 +158,7 @@ uint32_t PatchCord::getSpecificValue(uint32_t key)
int count;
if (dbus_message_get_args(response, NULL,
DBUS_TYPE_STRING, &banner,
DBUS_TYPE_STRING, &dummy,
DBUS_TYPE_STRING, &name,
DBUS_TYPE_UINT32, &type,
DBUS_TYPE_UINT32, &number,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment