diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-11-01 21:25:14 -0700 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2016-11-02 07:19:49 +0000 |
commit | 315b4325d0b55d1104d1615fa6f7ecc12465f8f2 (patch) | |
tree | 2abfbb09120098d11ece38f40c033b55b6b46deb | |
parent | 0c82b50ed1bf57b3798292b9b746933780c44ef7 (diff) | |
download | qtlocation-315b4325d0b55d1104d1615fa6f7ecc12465f8f2.tar.gz |
Fix symmetry of streaming in QDataStream
If one uses int to stream in, then use int to stream out too.
Change-Id: Ic46ff326a6ba46bc877cfffd1483206384439f78
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/positioning/qgeosatelliteinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/positioning/qgeosatelliteinfo.cpp b/src/positioning/qgeosatelliteinfo.cpp index 9168183e..79e39eff 100644 --- a/src/positioning/qgeosatelliteinfo.cpp +++ b/src/positioning/qgeosatelliteinfo.cpp @@ -283,7 +283,7 @@ QDataStream &operator<<(QDataStream &stream, const QGeoSatelliteInfo &info) stream << info.d->signal; stream << info.d->doubleAttribs; stream << info.d->satId; - stream << info.d->system; + stream << int(info.d->system); return stream; } #endif |