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/7071f33f5942
branches: trunk
changeset: 1000412:7071f33f5942
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 8de3df2dd4bd -r 7071f33f5942 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