Skip to content
Permalink
Browse files
Fix compiler warnings for spit plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Feb 2, 2007
1 parent 3046294 commit a73bd4a222c6a79fac6336c219925aae3ef235b3
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/plugins/spit/qgsshapefile.cpp
@@ -94,7 +94,7 @@ bool QgsShapeFile::scanGeometries()
qApp->processEvents();

OGRFeature *feat;
int currentType = 0;
unsigned int currentType = 0;
bool multi = false;
while((feat = ogrLayer->GetNextFeature()))
{
@@ -272,7 +272,7 @@ bool QgsShapeFile::insertLayer(QString dbname, QString schema, QString geom_col,

QString query = "CREATE TABLE "+schema+"."+table_name+"(gid int4 PRIMARY KEY, ";

for(int n=0; n<column_names.size() && result; n++){
for(uint n=0; n<column_names.size() && result; n++){
if(!column_names[n][0].isLetter())
result = false;

@@ -369,7 +369,7 @@ bool QgsShapeFile::insertLayer(QString dbname, QString schema, QString geom_col,
QString geometry(geo_temp);

QString quotes;
for(int n=0; n<column_types.size(); n++){
for(uint n=0; n<column_types.size(); n++){
bool numericType(false);
if(column_types[n] == "int" || column_types[n] == "float")
{

0 comments on commit a73bd4a

Please sign in to comment.