Skip to content
Permalink
Browse files

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]
  • Loading branch information
landryb committed Nov 12, 2017
1 parent 41abc0b commit 97020ff17d21fcdad8a51a5177d9c1da2bce9e81
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -583,7 +583,7 @@ QString QgsOgrProvider::ogrWkbGeometryTypeName( OGRwkbGeometryType type ) const
return geom;
}

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

0 comments on commit 97020ff

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