Home GnuPG
Diffusion GPGME eb68948c4388

core: Use 64 bit instead of gpgme_off_t for some internal functions.

Description

core: Use 64 bit instead of gpgme_off_t for some internal functions.

* src/conversion.c (_gpgme_string_to_off): Return an u64 value.
* src/data.c (_gpgme_data_get_size_hint): Ditto.
(gpgme_data_set_flag): Use u64 for io-buffer-size due to string_to_off
change.
* src/data.h (struct gpgme_data): Change size_hint to u64.
* src/engine-gpg.c (add_input_size_hint): Replace gpgme_off_t by u64.

Details

Provenance
wernerAuthored on Jun 15 2023, 10:58 AM
Parents
rM7e6d51aa6fc9: Fix definition of GPG_ERR_ENABLE_GETTEXT_MACROS
Branches
Unknown
Tags
Unknown
Tasks
T6534: gpg's progress_filter needs to use uint64_t