summaryrefslogtreecommitdiff
path: root/modules/commands/os_forbid.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-08 13:06:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 13:11:50 +0000
commitf083795c79fc062951d0253b4babf7e3b48c6ccb (patch)
treed40d77a317f31e7d8acb6db3df85dbd3e3efbda9 /modules/commands/os_forbid.cpp
parent5db79c1e242d4c06d1aeb2b09f99b8254b7fb5de (diff)
Fix various format string issues.
Diffstat (limited to 'modules/commands/os_forbid.cpp')
-rw-r--r--modules/commands/os_forbid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp
index 41e36aee4..4523e694b 100644
--- a/modules/commands/os_forbid.cpp
+++ b/modules/commands/os_forbid.cpp
@@ -356,7 +356,7 @@ public:
ListFormatter list(source.GetAccount());
list.AddColumn(_("Mask")).AddColumn(_("Type")).AddColumn(_("Creator")).AddColumn(_("Expires")).AddColumn(_("Reason"));
- unsigned shown = 0;
+ size_t shown = 0;
for (auto *forbid : forbids)
{
if (ftype != FT_SIZE && ftype != forbid->type)
@@ -401,7 +401,7 @@ public:
if (shown >= forbids.size())
source.Reply(_("End of forbid list."));
else
- source.Reply(_("End of forbid list - %d/%d entries shown."), shown, forbids.size());
+ source.Reply(_("End of forbid list - %zu/%zu entries shown."), shown, forbids.size());
}
}
}