Require a space after a cast
Align with K&R2.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/.uncrustify.cfg b/.uncrustify.cfg
index ac9173e..7ce0905 100644
--- a/.uncrustify.cfg
+++ b/.uncrustify.cfg
@@ -187,8 +187,8 @@
# 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