diff options
Diffstat (limited to 'Swiften/Elements/StreamResumed.h')
-rw-r--r-- | Swiften/Elements/StreamResumed.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Elements/StreamResumed.h b/Swiften/Elements/StreamResumed.h index cc42895..cf9a755 100644 --- a/Swiften/Elements/StreamResumed.h +++ b/Swiften/Elements/StreamResumed.h @@ -25,16 +25,16 @@ namespace Swift { return resumeID; } - const boost::optional<int> getHandledStanzasCount() const { + const boost::optional<unsigned int> getHandledStanzasCount() const { return handledStanzasCount; } - void setHandledStanzasCount(int i) { + void setHandledStanzasCount(unsigned int i) { handledStanzasCount = i; } private: std::string resumeID; - boost::optional<int> handledStanzasCount; + boost::optional<unsigned int> handledStanzasCount; }; } |