From 94ac2206223dd0961a5ced92620f0e47fcdb6f31 Mon Sep 17 00:00:00 2001 From: Giloo <33936193+GillesDuvert@users.noreply.github.com> Date: Mon, 6 May 2024 14:16:59 +0200 Subject: [PATCH] replace SizeT by int, avoids warning about format at line 4844 in gdlWidget.cpp (#1826) --- src/gdlwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdlwidget.cpp b/src/gdlwidget.cpp index 51a7ba63f..432a78e1f 100644 --- a/src/gdlwidget.cpp +++ b/src/gdlwidget.cpp @@ -4831,7 +4831,7 @@ BaseGDL* GDLWidgetTable::GetDisjointSelectionValuesForStructs(DLongGDL* selectio DStructDesc* inStructDesc = structIn->Desc(); //create tag structure DStructDesc* outStructDesc = new DStructDesc("$truct"); - for (SizeT outTag = 0, n = 0, l = 0; n < MAX(selection->Dim(1), 1); ++n) { + for (int outTag = 0, n = 0, l = 0; n < MAX(selection->Dim(1), 1); ++n) { SizeT t = 0; SizeT ix = 0; if (majority == GDLWidgetTable::ROW_MAJOR) {