aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/format_user_config.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/format_user_config.hh')
-rw-r--r--src/clients/cave/format_user_config.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/format_user_config.hh b/src/clients/cave/format_user_config.hh
index ec954761b..f14778ab6 100644
--- a/src/clients/cave/format_user_config.hh
+++ b/src/clients/cave/format_user_config.hh
@@ -68,7 +68,7 @@ namespace paludis
struct MinElement<c_, cs_...>
{
enum {
- cs_value = MinElement<cs_...>::value,
+ cs_value = static_cast<char>(MinElement<cs_...>::value),
c_value = c_,
value = (cs_value < c_value ? cs_value : c_value)
};