From b92cc46432f41801114ad3576defd8f92944d067 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 27 May 2015 15:40:37 +0200 Subject: [PATCH] Crank up the max input size; use stddef.h instead of stdlib.h for size_t --- demos/demo_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/demo_utils.h b/demos/demo_utils.h index 619bb1fa..bd915cdd 100644 --- a/demos/demo_utils.h +++ b/demos/demo_utils.h @@ -4,9 +4,9 @@ #ifndef DEMO_UTILS_H #define DEMO_UTILS_H -#include +#include -#define MAX_INPUT_SIZE 128 /* size of all input buffers in the demo */ +#define MAX_INPUT_SIZE 4096 /* max size of all input buffers in the demo */ void print_hex(const void *bin, const size_t bin_len); size_t prompt_input(char *prompt, char *input, const size_t max_input_len);