summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/StreamResume.h6
-rw-r--r--Swiften/Elements/StreamResumed.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/Swiften/Elements/StreamResume.h b/Swiften/Elements/StreamResume.h
index 652182a..aec0909 100644
--- a/Swiften/Elements/StreamResume.h
+++ b/Swiften/Elements/StreamResume.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;
};
}
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;
};
}