acassis commented on code in PR #9737: URL: https://github.com/apache/nuttx/pull/9737#discussion_r1255897405
########## libs/libc/modlib/modlib_verify.c: ########## @@ -28,14 +28,18 @@ #include <debug.h> #include <errno.h> +#include <nuttx/arch.h> #include <nuttx/elf.h> #include <nuttx/lib/modlib.h> /**************************************************************************** * Private Constant Data ****************************************************************************/ -static const char g_modmagic[EI_MAGIC_SIZE] = EI_MAGIC; +static const char g_modmagic[EI_MAGIC_SIZE] = +{ + 0x7f, 'E', 'L', 'F' +}; Review Comment: Good point, it shouldn't -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org