]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build error 3010/head
authorTim Kientzle <kientzle@acm.org>
Fri, 8 May 2026 00:50:07 +0000 (17:50 -0700)
committerTim Kientzle <kientzle@acm.org>
Fri, 8 May 2026 00:50:07 +0000 (17:50 -0700)
libarchive/archive_parse_date.c

index 0f9256f98d5b8566d387663e24ed9dca7482b53f..390e441a445ea67ff1e8b526b8d689177e051c24 100644 (file)
@@ -823,8 +823,8 @@ RelativeMonth(time_t Start, time_t Timezone, time_t RelMonth)
  */
 static uint64_t
 consume_unsigned_number(const char **in) {
-       const static uint64_t limit = (UINT64_MAX / 10);
-       const static uint64_t final_digit = (UINT64_MAX % 10);
+       static const uint64_t limit = (UINT64_MAX / 10);
+       static const uint64_t final_digit = (UINT64_MAX % 10);
 
        uint64_t value = 0;
        unsigned char c;