From: Herman Semenov Date: Sun, 18 Feb 2024 16:20:12 +0000 (+0000) Subject: ggml, common, examples, tests : fixed type arguments in printf (llama/5528) X-Git-Tag: upstream/0.0.1642~947 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=726d4e62ff7a1cce4af715629640dc2fb1701423;p=pkg%2Fggml%2Fsources%2Fggml ggml, common, examples, tests : fixed type arguments in printf (llama/5528) --- diff --git a/src/ggml.c b/src/ggml.c index aefcda6d..8224652a 100644 --- a/src/ggml.c +++ b/src/ggml.c @@ -17909,7 +17909,7 @@ struct ggml_cgraph * ggml_graph_import(const char * fname, struct ggml_context * ptr += ggml_nbytes(tensor); - fprintf(stderr, "%s: loaded leaf %d: '%16s', %9zu bytes\n", __func__, i, tensor->name, ggml_nbytes(tensor)); + fprintf(stderr, "%s: loaded leaf %u: '%16s', %9zu bytes\n", __func__, i, tensor->name, ggml_nbytes(tensor)); } } @@ -18012,7 +18012,7 @@ struct ggml_cgraph * ggml_graph_import(const char * fname, struct ggml_context * result->nodes[i] = tensor; - fprintf(stderr, "%s: loaded node %d: '%16s', %9zu bytes\n", __func__, i, tensor->name, ggml_nbytes(tensor)); + fprintf(stderr, "%s: loaded node %u: '%16s', %9zu bytes\n", __func__, i, tensor->name, ggml_nbytes(tensor)); } } }