mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-15 06:27:55 +00:00
fix(nimble): Fixed compilation warning for CONFIG_COMPILER_WARN_WRITE_STRINGS
If built with CONFIG_COMPILER_WARN_WRITE_STRINGS=y, the compiler emits warnings about the non-const pointer pointing to literal strings. This fixes it.
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
|
||||
struct err_code {
|
||||
int error_code;
|
||||
char *msg;
|
||||
const char *msg;
|
||||
};
|
||||
|
||||
static struct err_code core_err_code_list[] = {
|
||||
|
||||
Reference in New Issue
Block a user