From: Inki Dae Date: Fri, 26 Jun 2020 06:00:59 +0000 (+0900) Subject: Fix build error aarch64 and x86_64 X-Git-Tag: accepted/tizen/unified/20200628.221629^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3babc396d038dd4e09d9761ce6ec2f13eeb8c2de;p=platform%2Fcore%2Fmultimedia%2Finference-engine-mlapi.git Fix build error aarch64 and x86_64 Change-Id: I4aa50fce7ed7b9c822a505be5d21f17bb5f040e9 Signed-off-by: Inki Dae --- diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index ae8c740..0b620f5 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -267,7 +267,7 @@ namespace MLAPIImpl LOGI("%u", in_dim[shape_idx]); } - LOGI("input tensor size = %u", in_size); + LOGI("input tensor size = %zu", in_size); ret = ml_tensors_info_get_tensor_name(in_info, i, &in_name); if (ret != ML_ERROR_NONE) { @@ -534,7 +534,7 @@ namespace MLAPIImpl } for (unsigned int i = 0; i < cnt; ++i) { - LOGI("index(%d) : buffer = %p, size = %u\n", i, + LOGI("index(%d) : buffer = %p, size = %zu\n", i, input_buffers[i].buffer, input_buffers[i].size); err = ml_tensors_data_set_tensor_data(input_data, i, input_buffers[i].buffer, @@ -563,7 +563,7 @@ namespace MLAPIImpl return INFERENCE_ENGINE_ERROR_INVALID_OPERATION; } - LOGI("Output tensor = %u", output_buffers[0].size); + LOGI("Output tensor = %zu", output_buffers[0].size); LOGI("LEAVE"); return INFERENCE_ENGINE_ERROR_NONE;