diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-22 20:39:00 -0300 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-05-23 12:57:19 +0000 |
commit | 8a7c9fa1a705f7a2fb3f066b755faaa2f4064ceb (patch) | |
tree | 7c3c60caea69f45d8565eecb4b964f7415094a30 | |
parent | b777cec7dede33e061030efc95f06ba37e9e8869 (diff) | |
download | qtlocation-8a7c9fa1a705f7a2fb3f066b755faaa2f4064ceb.tar.gz |
Fix change-of-sign warning
qdeclarativegeoroute_p.h(102): error #68: integer conversion resulted in a change of sign
void initSegments(unsigned int lastIndex = -1);
^
Change-Id: I052407b777ec43f78378fffd15311bd2bb1cdfdc
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroute_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroute_p.h b/src/location/declarativemaps/qdeclarativegeoroute_p.h index 7e7ae368..c19c2674 100644 --- a/src/location/declarativemaps/qdeclarativegeoroute_p.h +++ b/src/location/declarativemaps/qdeclarativegeoroute_p.h @@ -99,7 +99,7 @@ private: static QDeclarativeGeoRouteSegment *segments_at(QQmlListProperty<QDeclarativeGeoRouteSegment> *prop, int index); static void segments_clear(QQmlListProperty<QDeclarativeGeoRouteSegment> *prop); - void initSegments(unsigned int lastIndex = -1); + void initSegments(unsigned int lastIndex = ~0U); QList<QGeoCoordinate> routePath(); QGeoRoute route_; |