Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[spatialite] Use QVariant::LongLong as int type consistently
  • Loading branch information
m-kuhn committed Aug 29, 2013
1 parent 22eec4a commit 2f2e088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteprovider.cpp
Expand Up @@ -758,7 +758,7 @@ void QgsSpatiaLiteProvider::loadFields()
strcasecmp( type, "tinyint" ) == 0 ||
strcasecmp( type, "boolean" ) == 0 )
{
fieldType = QVariant::Int;
fieldType = QVariant::LongLong;
}
else if ( strcasecmp( type, "real" ) == 0 ||
strcasecmp( type, "double" ) == 0 ||
Expand Down

0 comments on commit 2f2e088

Please sign in to comment.