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/1.7.4~991 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7d90bb035b9935bda710063f6f7e9ad3b07ec21a;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml, common, examples, tests : fixed type arguments in printf (llama/5528) --- diff --git a/ggml.c b/ggml.c index aefcda6d..8224652a 100644 --- a/ggml.c +++ b/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)); } } }