diff options
Diffstat (limited to 'lang/cpp/src/data.cpp')
-rw-r--r-- | lang/cpp/src/data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/cpp/src/data.cpp b/lang/cpp/src/data.cpp index 356bbed6..7a93cbc2 100644 --- a/lang/cpp/src/data.cpp +++ b/lang/cpp/src/data.cpp @@ -217,17 +217,17 @@ GpgME::Error GpgME::Data::setFileName(const char *name) return Error(gpgme_data_set_file_name(d->data, name)); } -gpgme_ssize_t GpgME::Data::read(void *buffer, size_t length) +ssize_t GpgME::Data::read(void *buffer, size_t length) { return gpgme_data_read(d->data, buffer, length); } -gpgme_ssize_t GpgME::Data::write(const void *buffer, size_t length) +ssize_t GpgME::Data::write(const void *buffer, size_t length) { return gpgme_data_write(d->data, buffer, length); } -gpgme_off_t GpgME::Data::seek(gpgme_off_t offset, int whence) +off_t GpgME::Data::seek(off_t offset, int whence) { return gpgme_data_seek(d->data, offset, whence); } |