Avoid use of BUFSIZ to guarantee system independent package size

This commit is contained in:
Marc André Tanner 2017-06-27 08:50:10 +02:00
parent 482237919b
commit 1f1c02a3b0
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ typedef struct {
uint32_t type;
uint32_t len;
union {
char msg[BUFSIZ];
char msg[4096 - 2*sizeof(uint32_t)];
struct {
uint16_t rows;
uint16_t cols;