Change strlen_t to be uint_least8_t for compatibility guarantee

This commit is contained in:
Aaron Helton
2019-10-09 22:01:22 -04:00
parent 03b4dfe5cb
commit c249845beb

View File

@@ -6,7 +6,7 @@
#include <stdint.h>
#define MAX_STR_SIZE 255
typedef uint8_t strlen_t;
typedef uint_least8_t strlen_t;
/*
* C Doesn't define any standard string structure, so we'll make a simple one of