From 74d47e8afaa7364980ad8881e7a750c60e6f6070 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Tue, 29 Oct 2019 06:34:09 -0400 Subject: [PATCH] Add missed casting --- src/unity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unity.c b/src/unity.c index ee575bd..2b93244 100644 --- a/src/unity.c +++ b/src/unity.c @@ -310,7 +310,7 @@ void UnityPrintNumberByStyle(const UNITY_INT number, const UNITY_DISPLAY_STYLE_T UNITY_OUTPUT_CHAR('\''); if ((number <= 126) && (number >= 32)) { - UNITY_OUTPUT_CHAR(number); + UNITY_OUTPUT_CHAR((int)number); } /* write escaped carriage returns */ else if (number == 13) -- GitLab