aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorLaszlo Boszormenyi (GCS) <gcs@debian.org>2025-02-16 09:07:36 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-18 22:32:49 +0100
commit6adee44e78b70f1708b5d129281e958a2dfca33a (patch)
tree08abc00e52fd8af3ba67bf849c572ed8e66212c3 /util
parenta5aa028097fb557231665292276813b85c849e86 (diff)
downloadlibfuse-6adee44e78b70f1708b5d129281e958a2dfca33a.tar.gz
Fix build of example/memfs_ll.cc on 32 bit architectures
The code uses std::min() which expects its arguments to be size_t. Two times it uses an offset declared as off_t. While both size_t and off_t are 32-bit integers, the latter is signed. On 64 bit architectures the conversation of off_t -> size_t performed automatically. On 32 bit architectures it needs a type cast. Signed-off-by: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions