Change STRING length from int8_t to uint8_t.
authorEdouard Tisserant <edouard@beremiz.fr>
Fri, 05 Apr 2024 12:05:28 +0200
changeset 1100 f7cc4f6ce756
parent 1099 cdb045e8be20
child 1103 f3c6c938d5ff
child 1104 0bc1f5a4f975
Change STRING length from int8_t to uint8_t.

This fixes GCC warning when using DELETE function from Standard Library.
lib/C/iec_types.h
--- a/lib/C/iec_types.h	Fri Jul 22 09:24:12 2022 +0200
+++ b/lib/C/iec_types.h	Fri Apr 05 12:05:28 2024 +0200
@@ -49,7 +49,7 @@
 #endif
 
 #ifndef STR_LEN_TYPE
-#define STR_LEN_TYPE int8_t
+#define STR_LEN_TYPE uint8_t
 #endif
 
 #define __INIT_REAL 0