Skip to content

Commit 97020ff

Browse files
committedNov 12, 2017
Remove useless cast breaking build on 32-bits os
error: case value evaluates to 2147483655, which cannot be narrowed to type 'long' [-Wc++11-narrowing]
1 parent 41abc0b commit 97020ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ QString QgsOgrProvider::ogrWkbGeometryTypeName( OGRwkbGeometryType type ) const
583583
return geom;
584584
}
585585

586-
switch ( ( long )type )
586+
switch ( type )
587587
{
588588
case wkbUnknown:
589589
geom = QStringLiteral( "Unknown" );

0 commit comments

Comments
 (0)
Please sign in to comment.