diff options
author | Tobias Markmann <tm@ayena.de> | 2016-05-31 08:49:23 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-05-31 08:49:23 (GMT) |
commit | f5a08101e59abef6a4696bcaa2b5381e133dfbb4 (patch) | |
tree | c07fd432c819a6b67c0fce349b92de102a0b8b20 /Swiften/Elements/PubSubError.h | |
parent | b5fc545c5f19d35c877514b30ba07303d0c9793d (diff) | |
download | swift-f5a08101e59abef6a4696bcaa2b5381e133dfbb4.zip swift-f5a08101e59abef6a4696bcaa2b5381e133dfbb4.tar.bz2 |
Fix serialization code in response to VS 2013 warning
cl.exe from VS 2013 warns about a negative integral constant
converted to unsigned type (C4308).
This is worked around by using the & operator instead of the
<< operator, which also allows serialization but does not
cause the warning.
Test-Information:
Tested on Windows 8 with Visual Studio 2013. The build does
not cause the warnings on the affected files anymore.
Change-Id: I53d82361cb07e36e96e0ff1398e6fb1b35bb01fa
Diffstat (limited to 'Swiften/Elements/PubSubError.h')
0 files changed, 0 insertions, 0 deletions