Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Oct 8, 2016
1 parent 6e4dbc0 commit 4e22d2485648632b3cb83815aa954ab9a936f35c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsgml.cpp
@@ -454,7 +454,7 @@ QVector<QgsGmlStreamingParser::QgsGmlFeaturePtrGmlIdPair> QgsGmlStreamingParser:
}

#define LOCALNAME_EQUALS(string_constant) \
( localNameLen == strlen( string_constant ) && memcmp(pszLocalName, string_constant, localNameLen) == 0 )
( localNameLen == ( int )strlen( string_constant ) && memcmp(pszLocalName, string_constant, localNameLen) == 0 )

void QgsGmlStreamingParser::startElement( const XML_Char* el, const XML_Char** attr )
{
@@ -675,7 +675,7 @@ void QgsGmlStreamingParser::startElement( const XML_Char* el, const XML_Char** a
isGeom = true;
}
else if ( isGMLNS &&
localNameLen == strlen( "Polygon" ) && memcmp( pszLocalName, "Polygon", localNameLen ) == 0 )
localNameLen == ( int )strlen( "Polygon" ) && memcmp( pszLocalName, "Polygon", localNameLen ) == 0 )
{
isGeom = true;
mCurrentWKBFragments.push_back( QList<QgsWkbPtr>() );

0 comments on commit 4e22d24

Please sign in to comment.
You can’t perform that action at this time.