clang warnings

This commit is contained in:
Olof Hagsand 2019-12-23 14:03:42 +00:00
parent 7fb452f96e
commit a87e9cb246
9 changed files with 11 additions and 11 deletions

View file

@ -355,7 +355,7 @@ api_restconf(clicon_handle h,
// retval = restconf_unsupported_media(r);
// goto done;
}
else if ((media_out = restconf_media_str2int(media_str)) == -1){
else if ((int)(media_out = restconf_media_str2int(media_str)) == -1){
if (strcmp(media_str, "*/*") == 0) /* catch-all */
media_out = YANG_DATA_JSON;
else{