From c61de2ad06ada5c1c43776f6daff1bead404df78 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 19 Aug 2023 23:25:36 +0200 Subject: [PATCH] try less ambiguous --- plugins/transfer_auto_accept.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/transfer_auto_accept.cpp b/plugins/transfer_auto_accept.cpp index f645c61..9329812 100644 --- a/plugins/transfer_auto_accept.cpp +++ b/plugins/transfer_auto_accept.cpp @@ -20,7 +20,7 @@ TransferAutoAccept::TransferAutoAccept(RegistryMessageModel& rmm, ConfigModelI& //} if (!_conf.has_int("TransferAutoAccept", "autoaccept_limit")) { - _conf.set("TransferAutoAccept", "autoaccept_limit", 50l*1024l*1024l); // sane default + _conf.set("TransferAutoAccept", "autoaccept_limit", int64_t(50l*1024l*1024l)); // sane default } }