Quellcode durchsuchen

update API jerry_int_to_hex in jerry_buffer.c

yangfasheng vor 7 Jahren
Ursprung
Commit
2af65df4f8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      rtthread-port/jerry_buffer.c

+ 1 - 1
rtthread-port/jerry_buffer.c

@@ -226,7 +226,7 @@ char jerry_int_to_hex(int value)
     if (value < 10)
     if (value < 10)
         return '0' + value;
         return '0' + value;
 
 
-    return 'a' + value - 10;
+    return 'A' + value - 10;
 }
 }
 
 
 static int hex2int(const char *str)
 static int hex2int(const char *str)