diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 15:11:03 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-02-02 16:31:20 -0200 |
| commit | a7ce0ad1dacc62d01ec11422586b211c5239e890 (patch) | |
| tree | 402dc4b6d88647cd14edf5c5a93489491ad0a056 /lib/ptm_lib.c | |
| parent | b599ec55f4b34607c529074d167284c6c06d246a (diff) | |
*: 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 dbfd2dc9f8..fea5a8cc40 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++; } |
