From bc8a34f8dfdba8a98c1ab342dcb41b9b887058c0 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 8 Aug 2015 10:35:17 -0700 Subject: [PATCH] Add a missing typecast --- src/postfork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/postfork.cpp b/src/postfork.cpp index 35961205f..1eb958ad9 100644 --- a/src/postfork.cpp +++ b/src/postfork.cpp @@ -509,7 +509,7 @@ void safe_report_exec_error(int err, const char *actual_cmd, const char * const if (arg_max > 0) { - format_size_safe(sz2, arg_max); + format_size_safe(sz2, static_cast(arg_max)); debug_safe(0, "The total size of the argument and environment lists %s exceeds the operating system limit of %s.", sz1, sz2); } else