mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-25 01:37:22 +00:00
Resolve problems found by enabling -Wwrite-strings compilation flag
This commit is contained in:
@@ -101,7 +101,7 @@ static ssize_t callback_recv(nghttp2_session *session, uint8_t *buf,
|
||||
return rv;
|
||||
}
|
||||
|
||||
char *sh2lib_frame_type_str(int type)
|
||||
const char *sh2lib_frame_type_str(int type)
|
||||
{
|
||||
switch (type) {
|
||||
case NGHTTP2_HEADERS:
|
||||
|
Reference in New Issue
Block a user