diff options
Diffstat (limited to 'Swiften/Parser/PayloadParsers/IBBParser.cpp')
| -rw-r--r-- | Swiften/Parser/PayloadParsers/IBBParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Parser/PayloadParsers/IBBParser.cpp b/Swiften/Parser/PayloadParsers/IBBParser.cpp index 9b6babc..1ba44e1 100644 --- a/Swiften/Parser/PayloadParsers/IBBParser.cpp +++ b/Swiften/Parser/PayloadParsers/IBBParser.cpp | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2016 Isode Limited. | 2 | * Copyright (c) 2010-2018 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -39,7 +39,7 @@ void IBBParser::handleStartElement(const std::string& element, const std::string | |||
| 39 | getPayloadInternal()->setStanzaType(IBB::IQStanza); | 39 | getPayloadInternal()->setStanzaType(IBB::IQStanza); |
| 40 | } | 40 | } |
| 41 | try { | 41 | try { |
| 42 | getPayloadInternal()->setBlockSize(boost::lexical_cast<int>(attributes.getAttribute("block-size"))); | 42 | getPayloadInternal()->setBlockSize(boost::lexical_cast<unsigned int>(attributes.getAttribute("block-size"))); |
| 43 | } | 43 | } |
| 44 | catch (boost::bad_lexical_cast&) { | 44 | catch (boost::bad_lexical_cast&) { |
| 45 | } | 45 | } |
Swift