FS-10167: Fixed up linux build for latest work on channel and protocol removal at runtime

This commit is contained in:
Shane Bryldt committed 2017-08-18 17:44:25 -05:00
1 parent a81b57bd35
commit 9fc65c8752
4 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -169,7 +169,7 @@ ks_bool_t test_join_request_handler(blade_rpc_request_t *brpcreq, void *data)
void *key = NULL;
void *value = NULL;
ks_hash_this(it, &key, NULL, &value);
ks_hash_this(it, (const void **)&key, NULL, &value);
cJSON_AddItemToArray(channels, cJSON_CreateString((const char *)key));
}
@@ -239,7 +239,7 @@ ks_bool_t test_leave_request_handler(blade_rpc_request_t *brpcreq, void *data)
void *key = NULL;
void *value = NULL;
ks_hash_this(it, &key, NULL, &value);
ks_hash_this(it, (const void **)&key, NULL, &value);
cJSON_AddItemToArray(channels, cJSON_CreateString((const char *)key));
}