Skip to content

Commit

Permalink
Remove useless cast breaking build on 32-bits os
Browse files Browse the repository at this point in the history
error: case value evaluates to 2147483655, which cannot be narrowed to type 'long' [-Wc++11-narrowing]
  • Loading branch information
landryb committed Nov 12, 2017
1 parent 41abc0b commit 97020ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -583,7 +583,7 @@ QString QgsOgrProvider::ogrWkbGeometryTypeName( OGRwkbGeometryType type ) const
return geom;
}

switch ( ( long )type )
switch ( type )
{
case wkbUnknown:
geom = QStringLiteral( "Unknown" );
Expand Down

0 comments on commit 97020ff

Please sign in to comment.