error: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
Change-Id: I8e41f70688269b519261f94ced6891267bf243c6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
req.appkey_idx = appkey_s->appkey_index;
req.opcode = msg_params->opcode;
if (msg_params->data) {
- BT_INFO("Mesh: model msg strlen %d message: %s",
+ BT_INFO("Mesh: model msg strlen %zd message: %s",
strlen(msg_params->data), msg_params->data);
req.msg_len = strlen(msg_params->data);
new_value = g_malloc0(strlen(value) + 1);
strncpy(new_value, &value[offset], strlen(value) - offset);
new_value[strlen(value) - offset] = '\0';
- TC_PRT("new_value: %s(len: %d)\n", new_value, strlen(new_value));
+ TC_PRT("new_value: %s(len: %zd)\n", new_value, strlen(new_value));
__print_gatt_handler(gatt_handle);
TC_PRT("[%s] req_id %d, offset %d", remote_address, request_id, offset);