Skip to content

Commit 4e22d24

Browse files
committedOct 8, 2016
fix warnings
1 parent 6e4dbc0 commit 4e22d24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/core/qgsgml.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ QVector<QgsGmlStreamingParser::QgsGmlFeaturePtrGmlIdPair> QgsGmlStreamingParser:
454454
}
455455

456456
#define LOCALNAME_EQUALS(string_constant) \
457-
( localNameLen == strlen( string_constant ) && memcmp(pszLocalName, string_constant, localNameLen) == 0 )
457+
( localNameLen == ( int )strlen( string_constant ) && memcmp(pszLocalName, string_constant, localNameLen) == 0 )
458458

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

0 commit comments

Comments
 (0)
Please sign in to comment.