From: zhongfly <11155705+zhongfly@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:37:38 +0000 (+0800) Subject: archive_version_details: add missing ';' at end of declaration (#2585) X-Git-Tag: v3.8.0~42 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=948a52d672f76649c74f742199062b688b008816;p=thirdparty%2Flibarchive.git archive_version_details: add missing ';' at end of declaration (#2585) Close #2579 --- diff --git a/libarchive/archive_version_details.c b/libarchive/archive_version_details.c index 0530e2f42..186e53e50 100644 --- a/libarchive/archive_version_details.c +++ b/libarchive/archive_version_details.c @@ -444,7 +444,7 @@ archive_wincrypt_version(void) return NULL; } else { char major = version >> 8; - char minor = version & 0xFF + char minor = version & 0xFF; static char wincrypt_version[6]; snprintf(wincrypt_version, 6, "%hhd.%hhd", major, minor); return wincrypt_version; @@ -501,7 +501,7 @@ archive_libiconv_version(void) { #if HAVE_LIBCHARSET && HAVE_ICONV_H char major = _libiconv_version >> 8; - char minor = _libiconv_version & 0xFF + char minor = _libiconv_version & 0xFF; static char charset_version[6]; snprintf(charset_version, 6, "%hhd.%hhd", major, minor); return charset_version;