Resolve problems found by enabling -Wwrite-strings compilation flag

This commit is contained in:
Roland Dobai
2018-04-09 12:58:35 +02:00
parent 33480d1a2c
commit 744c2dcdd9
18 changed files with 30 additions and 27 deletions

View File

@@ -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: