diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 18:11:03 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 19:31:20 +0100 |
commit | a7ce0ad1dacc62d01ec11422586b211c5239e890 (patch) | |
tree | 402dc4b6d88647cd14edf5c5a93489491ad0a056 /lib/ptm_lib.c | |
parent | *: silence '-Wmaybe-uninitialized' warnings on NetBSD (diff) | |
download | frr-a7ce0ad1dacc62d01ec11422586b211c5239e890.tar.xz frr-a7ce0ad1dacc62d01ec11422586b211c5239e890.zip |
*: silence '-Wchar-subscripts' warnings on NetBSD
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/ptm_lib.c')
-rw-r--r-- | lib/ptm_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ptm_lib.c b/lib/ptm_lib.c index dbfd2dc9f..fea5a8cc4 100644 --- a/lib/ptm_lib.c +++ b/lib/ptm_lib.c @@ -120,7 +120,7 @@ static int _ptm_lib_decode_header(csv_t *csv, int *msglen, int *version, } /* remove leading spaces */ for (i = j = 0; i < csv_field_len(fld); i++) { - if (!isspace(hdr[i])) { + if (!isspace((int)hdr[i])) { client_name[j] = hdr[i]; j++; } |