summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_Kdialog.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-07 00:59:25 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-07 00:59:25 +0100
commit063ff67fcdd6976be214b6fb519d45c650d5498c (patch)
treea06e9cb82458683e4f17ac14b13426516c429033 /src/Fl_Native_File_Chooser_Kdialog.cxx
parente8060f2a61976fd55c173098603fcb4f90e0f48f (diff)
Fixing a couple of warnings.
Diffstat (limited to 'src/Fl_Native_File_Chooser_Kdialog.cxx')
-rw-r--r--src/Fl_Native_File_Chooser_Kdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_Kdialog.cxx b/src/Fl_Native_File_Chooser_Kdialog.cxx
index 18f6b9d03..75c5e6050 100644
--- a/src/Fl_Native_File_Chooser_Kdialog.cxx
+++ b/src/Fl_Native_File_Chooser_Kdialog.cxx
@@ -312,7 +312,7 @@ const char *Fl_Kdialog_Native_File_Chooser_Driver::title() const {
//
void Fl_Kdialog_Native_File_Chooser_Driver::shell_quote(Fl_String& s) {
Fl_String out = "'"; // leading quote
- for (int t=0; t<s.size(); t++) {
+ for (int t=0; t<(int)s.size(); t++) {
if (s[t] == '\'') out += "'\"'\"'"; // quote any quotes
else out += s[t];
}