]> git.ipfire.org Git - thirdparty/libarchive.git/commit
uu: Fix Visual Studio compiler warning (#2180)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Sat, 11 May 2024 17:06:04 +0000 (19:06 +0200)
committerGitHub <noreply@github.com>
Sat, 11 May 2024 17:06:04 +0000 (10:06 -0700)
commitcd95ec3b72d642d15bedecff0f47122e27a022b1
treee5b95f644e913944cebc49781e5e60b8d6441da8
parentdee8b59108d4b5d5feff14291d9c7c80b9d297bc
uu: Fix Visual Studio compiler warning (#2180)

Switch from int64_t to ssize_t for l and body, which is a no-op on 64
bit systems. On 32 bit systems, this change is okay because these
variables interact with other ssize_t variables in this scope.

Fixes compiler warning regarding line 584 in which ssize_t and int64_t
are mixed in calculations:

warning C4244: '=': conversion from 'int64_t' to 'long'
libarchive/archive_read_support_filter_uu.c