From 4d7916f6fdd11555b8173ae1e11503e135a87cc7 Mon Sep 17 00:00:00 2001 From: "seungha.son" Date: Wed, 6 Sep 2023 18:32:24 +0900 Subject: [PATCH] [TensorIF] Fix the wrong index in log format - Wrong array index occur unwanted behavior and problem. Signed-off-by: seungha.son --- gst/nnstreamer/elements/gsttensor_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/nnstreamer/elements/gsttensor_if.c b/gst/nnstreamer/elements/gsttensor_if.c index d55cf64..e635f29 100644 --- a/gst/nnstreamer/elements/gsttensor_if.c +++ b/gst/nnstreamer/elements/gsttensor_if.c @@ -383,7 +383,7 @@ gst_tensor_if_set_property_cv_option (const GValue * value, GList ** prop_list) val = g_ascii_strtoll (strv[1], NULL, 10); if (errno == ERANGE) { ml_loge ("Overflow occured during converting %s to a gint64 value", - strv[i]); + strv[1]); } *prop_list = g_list_append (*prop_list, GINT_TO_POINTER (val)); } -- 2.7.4