diff --git a/.uncrustify.cfg b/.uncrustify.cfg index ac9173e18d..7ce0905334 100644 --- a/.uncrustify.cfg +++ b/.uncrustify.cfg @@ -187,8 +187,8 @@ sp_before_comma = remove # No space before the ':' in a case statement sp_before_case_colon = remove -# No space after a cast - '(char) x' -> '(char)x' -sp_after_cast = remove +# Must have space after a cast - '(char)x' -> '(char) x' +sp_after_cast = add # No space between 'sizeof' and '(' sp_sizeof_paren = remove