Increase debugmsgsave size to avoid compiler warning about not big enough

Hamlib-4.1
Michael Black W9MDB 2021-01-30 11:03:08 -06:00
rodzic cd7811f3ed
commit d8492c6602
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2855,7 +2855,8 @@ extern HAMLIB_EXPORT(int)
rig_need_debug HAMLIB_PARAMS((enum rig_debug_level_e debug_level));
#define DEBUGMSGSAVE_SIZE 16384
// this need to be fairly big to avoid compiler warnings
#define DEBUGMSGSAVE_SIZE 24000
extern char debugmsgsave[DEBUGMSGSAVE_SIZE]; // last debug msg
#ifndef __cplusplus
#ifdef __GNUC__