diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-06-30 16:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-06-30 16:01:10 +0100 |
commit | 237ee6f2311b351b8a3bb3b46e17622f6e3b6bb9 (patch) | |
tree | b9c4298a78b4a85dfcb517a6648570a331ae5d17 /format.c | |
parent | 8c9fbbf4f3baae95c0ec437108f39483ced815cb (diff) | |
parent | 4e57894e8506f27844fc0e6353475a0b61fd7807 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3813,7 +3813,7 @@ format_build_modifiers(struct format_expand_state *es, const char **s, argc = 0; /* Single argument with no wrapper character. */ - if (!ispunct(cp[1]) || cp[1] == '-') { + if (!ispunct((u_char)cp[1]) || cp[1] == '-') { end = format_skip(cp + 1, ":;"); if (end == NULL) break; |