This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4cb71a1fc0e8679cef9919b5dc723a903a8ba8e1
Author: Marco Casaroli <[email protected]>
AuthorDate: Thu Nov 5 12:06:49 2026 +0100

    libs/libc/stream: Fix the style of lib_ultoa_invert.c.
    
    Add the braces that nxstyle asks for.  There is no code change.
    
    Part of https://github.com/apache/nuttx/issues/21467
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 libs/libc/stream/lib_ultoa_invert.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/libs/libc/stream/lib_ultoa_invert.c 
b/libs/libc/stream/lib_ultoa_invert.c
index bc246fcb403..bf6898ecc33 100644
--- a/libs/libc/stream/lib_ultoa_invert.c
+++ b/libs/libc/stream/lib_ultoa_invert.c
@@ -67,9 +67,13 @@ FAR char *__ultoa_invert(unsigned long long val, FAR char 
*str, int base)
       else
         {
           if (upper)
-            v += 'A' - 10;
+            {
+              v += 'A' - 10;
+            }
           else
-            v += 'a' - 10;
+            {
+              v += 'a' - 10;
+            }
         }
 
       *str++ = v;

Reply via email to