Skip to content

Commit 2f2e088

Browse files
committed
[spatialite] Use QVariant::LongLong as int type consistently
1 parent 22eec4a commit 2f2e088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/spatialite/qgsspatialiteprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ void QgsSpatiaLiteProvider::loadFields()
758758
strcasecmp( type, "tinyint" ) == 0 ||
759759
strcasecmp( type, "boolean" ) == 0 )
760760
{
761-
fieldType = QVariant::Int;
761+
fieldType = QVariant::LongLong;
762762
}
763763
else if ( strcasecmp( type, "real" ) == 0 ||
764764
strcasecmp( type, "double" ) == 0 ||

0 commit comments

Comments
 (0)