From fd9843f8dc3bcd5bbc5c2f5a4201621226c15f83 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sat, 24 Sep 2022 19:43:27 +0300 Subject: [PATCH] Fix type warning --- src/dbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbox.cc b/src/dbox.cc index d8ba806..0694ad3 100644 --- a/src/dbox.cc +++ b/src/dbox.cc @@ -1063,7 +1063,7 @@ int showSaveFileDialog(char* title, char** fileList, char* dest, int fileListLen char fileNameCopy[32]; strncpy(fileNameCopy, dest, 32); - int fileNameCopyLength = strlen(fileNameCopy); + size_t fileNameCopyLength = strlen(fileNameCopy); fileNameCopy[fileNameCopyLength + 1] = '\0'; fileNameCopy[fileNameCopyLength] = ' ';