[Pkg-gnupg-commit] [gpgme] 309/412: Cpp: Change firstSeen / lastSeen return values
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:27:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit de7b67f9b2e6bd43a036fa0bcc6a8ca4f5b10986
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Aug 25 10:46:17 2016 +0200
Cpp: Change firstSeen / lastSeen return values
* lang/cpp/src/tofuinfo.cpp,
lang/cpp/src/tofuinfo.h (TofuInfo::firstSeen, TofuInfo::lastSeen):
Change return values to unsigned long and update doc.
---
lang/cpp/src/tofuinfo.cpp | 4 ++--
lang/cpp/src/tofuinfo.h | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lang/cpp/src/tofuinfo.cpp b/lang/cpp/src/tofuinfo.cpp
index fe8f051..ade262b 100644
--- a/lang/cpp/src/tofuinfo.cpp
+++ b/lang/cpp/src/tofuinfo.cpp
@@ -123,12 +123,12 @@ unsigned short GpgME::TofuInfo::signCount() const
return isNull() ? 0 : d->mInfo->signcount;
}
-unsigned int GpgME::TofuInfo::firstSeen() const
+unsigned long GpgME::TofuInfo::firstSeen() const
{
return isNull() ? 0 : d->mInfo->firstseen;
}
-unsigned int GpgME::TofuInfo::lastSeen() const
+unsigned long GpgME::TofuInfo::lastSeen() const
{
return isNull() ? 0 : d->mInfo->lastseen;
}
diff --git a/lang/cpp/src/tofuinfo.h b/lang/cpp/src/tofuinfo.h
index 4835120..eb5dbcc 100644
--- a/lang/cpp/src/tofuinfo.h
+++ b/lang/cpp/src/tofuinfo.h
@@ -93,11 +93,11 @@ public:
/* Number of signatures seen for this binding. Capped at USHRT_MAX. */
unsigned short signCount() const;
- /* Number of seconds since the first message was verified. */
- unsigned int firstSeen() const;
+ /** Number of seconds since epoch when the first message was verified */
+ unsigned long firstSeen() const;
- /* Number of seconds since the last message was verified. */
- unsigned int lastSeen() const;
+ /** Number of seconds since epoch when the last message was verified */
+ unsigned long lastSeen() const;
/* If non-NULL a human readable string summarizing the TOFU data. */
const char *description() const;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list