From b484790ba35b1be046a030a76b04eb28c549f2ee Mon Sep 17 00:00:00 2001 From: "Oleg I.Berngardt" <47649740+berng@users.noreply.github.com> Date: Tue, 10 Jun 2025 11:54:59 +0800 Subject: [PATCH] Update locate.c To compile under Ubuntu 24. --- codebase/analysis/src.bin/cdf/istp_text.1.24/locate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codebase/analysis/src.bin/cdf/istp_text.1.24/locate.c b/codebase/analysis/src.bin/cdf/istp_text.1.24/locate.c index 3ce4b33d7..a5226ea87 100644 --- a/codebase/analysis/src.bin/cdf/istp_text.1.24/locate.c +++ b/codebase/analysis/src.bin/cdf/istp_text.1.24/locate.c @@ -180,7 +180,7 @@ struct file_list *locate_files(char *fpath,char *prefix, for (yr=syr;yr<=eyr;yr++) { - sprintf(dir,"%s/%.4d",fpath,(double) yr); + sprintf(dir,"%s/%.4d",fpath, yr); status=scandir(dir,&dlist,dsel,alphasort);