aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index e5b51b9a9..d94dcf200 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -3347,7 +3347,7 @@ format_helper_exit_status(unsigned char child_state, int saved_errno,
*cur++ = '\n';
*cur++ = '\0';
- res = cur - hex_errno - 1;
+ res = (int)(cur - hex_errno - 1);
goto done;