]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
archive_version_details: add missing ';' at end of declaration (#2585)
authorzhongfly <11155705+zhongfly@users.noreply.github.com>
Mon, 14 Apr 2025 14:37:38 +0000 (22:37 +0800)
committerGitHub <noreply@github.com>
Mon, 14 Apr 2025 14:37:38 +0000 (07:37 -0700)
Close #2579

libarchive/archive_version_details.c

index 0530e2f4242bd214f01ce367fd2f54a83e0ca7d8..186e53e50c843dc43602404290bf7a91fb545255 100644 (file)
@@ -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;