mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-06 21:29:22 +00:00
wasi_nn_openvino.c: fix a few printf formats (#4310)
This commit is contained in:
parent
938503af38
commit
1c12a32066
|
@ -58,7 +58,7 @@ dump_ov_shape_t(const ov_shape_t *shape, int32_t output_len, char *output)
|
|||
{
|
||||
int ret = 0;
|
||||
|
||||
ret = snprintf(output, output_len, "%ld,[", shape->rank);
|
||||
ret = snprintf(output, output_len, "%" PRId64 ",[", shape->rank);
|
||||
if (!ret)
|
||||
return;
|
||||
|
||||
|
@ -66,7 +66,7 @@ dump_ov_shape_t(const ov_shape_t *shape, int32_t output_len, char *output)
|
|||
output += ret;
|
||||
|
||||
for (unsigned i = 0; i < shape->rank && output_len; i++) {
|
||||
ret = snprintf(output, output_len, " %ld", shape->dims[i]);
|
||||
ret = snprintf(output, output_len, " %" PRId64, shape->dims[i]);
|
||||
if (!ret)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user