35
35
36
36
STATIC uint8_t consume_spaces (FIL * active_file ) {
37
37
uint8_t character = ' ' ;
38
- size_t quantity_read = 1 ;
38
+ UINT quantity_read = 1 ;
39
39
while (unichar_isspace (character ) && quantity_read > 0 ) {
40
40
f_read (active_file , & character , 1 , & quantity_read );
41
41
}
@@ -46,7 +46,7 @@ STATIC uint8_t consume_spaces(FIL *active_file) {
46
46
// key. File pointer is left after the = after the key.
47
47
STATIC bool key_matches (FIL * active_file , const char * key ) {
48
48
uint8_t character = ' ' ;
49
- size_t quantity_read = 1 ;
49
+ UINT quantity_read = 1 ;
50
50
character = consume_spaces (active_file );
51
51
bool quoted = false;
52
52
if (character == '\'' ) {
@@ -90,7 +90,7 @@ STATIC bool key_matches(FIL *active_file, const char *key) {
90
90
91
91
STATIC bool next_line (FIL * active_file ) {
92
92
uint8_t character = ' ' ;
93
- size_t quantity_read = 1 ;
93
+ UINT quantity_read = 1 ;
94
94
bool quoted = false;
95
95
bool escaped = false;
96
96
// Track comments because they last until the end of the line.
@@ -117,7 +117,7 @@ STATIC bool next_line(FIL *active_file) {
117
117
118
118
STATIC mp_int_t read_value (FIL * active_file , char * value , size_t value_len ) {
119
119
uint8_t character = ' ' ;
120
- size_t quantity_read = 1 ;
120
+ UINT quantity_read = 1 ;
121
121
// Consume spaces before =
122
122
character = consume_spaces (active_file );
123
123
if (character != '=' ) {
0 commit comments