From 109843e52da507b8d78e70050157746345b490d9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 1 Jun 2025 03:33:00 +0200 Subject: [PATCH v2 03/11] fftools/textformat/avtextformat: Avoid relocations Signed-off-by: Andreas Rheinhardt --- fftools/textformat/avtextformat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c index 8a87b9ee2c..81c6b0f0e5 100644 --- a/fftools/textformat/avtextformat.c +++ b/fftools/textformat/avtextformat.c @@ -43,8 +43,8 @@ static const struct { double bin_val; double dec_val; - const char *bin_str; - const char *dec_str; + char bin_str[4]; + char dec_str[4]; } si_prefixes[] = { { 1.0, 1.0, "", "" }, { 1.024e3, 1e3, "Ki", "K" }, -- 2.45.2