aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/data.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2020-11-20 09:09:06 +0000
committerAndre Heinecke <[email protected]>2020-11-20 09:10:32 +0000
commita5c4b030258714dd72a2e276114183309cad3ec3 (patch)
tree026cccea8d61f680c4f4905dade205cde0bee691 /lang/cpp/src/data.cpp
parentm4: Update with newer autoconf constructs. (diff)
downloadgpgme-a5c4b030258714dd72a2e276114183309cad3ec3.tar.gz
gpgme-a5c4b030258714dd72a2e276114183309cad3ec3.zip
Revert "cpp: Use portable off_t size_t"
This reverts commit 88294023c196497cfa6737be262c8b0c09d2a3ce. -- This commit was too early and i needed to test more this is breaking more then it helps so for now revert it before we can do a proper solution.
Diffstat (limited to 'lang/cpp/src/data.cpp')
-rw-r--r--lang/cpp/src/data.cpp6
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);
}