Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libarchive/dist/libarchive Avoid ctype warning ...
details: https://anonhg.NetBSD.org/src/rev/f17df58058ad
branches: trunk
changeset: 462082:f17df58058ad
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jul 24 14:05:45 2019 +0000
description:
Avoid ctype warning due to missing cast.
diffstat:
external/bsd/libarchive/dist/libarchive/archive_read_support_format_mtree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2e2fef14ad21 -r f17df58058ad external/bsd/libarchive/dist/libarchive/archive_read_support_format_mtree.c
--- a/external/bsd/libarchive/dist/libarchive/archive_read_support_format_mtree.c Wed Jul 24 14:03:57 2019 +0000
+++ b/external/bsd/libarchive/dist/libarchive/archive_read_support_format_mtree.c Wed Jul 24 14:05:45 2019 +0000
@@ -1051,7 +1051,7 @@
continue;
/* Non-printable characters are not allowed */
for (s = p;s < p + len - 1; s++) {
- if (!isprint(*s)) {
+ if (!isprint((unsigned char)*s)) {
r = ARCHIVE_FATAL;
break;
}
Home |
Main Index |
Thread Index |
Old Index