Commit 2f64e330 authored by Caleb C. Sander's avatar Caleb C. Sander
Browse files

Avoid UINT8_MAX constant

parent e4ee8bbb
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "stage2.h" #include "stage2.h"
const size_t MIN_CHOICE = 1; const size_t MIN_CHOICE = 1;
const size_t MAX_CHOICE = UINT8_MAX; const size_t MAX_CHOICE = 255;
static inline page_t *init_pages(void) { static inline page_t *init_pages(void) {
return calloc(MAX_CHOICE + 1, sizeof(page_t)); return calloc(MAX_CHOICE + 1, sizeof(page_t));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment