Changeset 14430

Show
Ignore:
Timestamp:
05/10/08 14:42:32 (2 months ago)
Author:
warmerdam
Message:

fix warnings (mostly %d vs. %ld)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/ogr/ogrsf_frmts/geoconcept/geoconcept.c

    r13907 r14430  
    47734773      /* long integer which GeoConcept may use as a key for the object it will create. */ 
    47744774      /* If set to '-1', it will be ignored.                                           */ 
    4775       if( VSIFPrintf(h,"%s%d%s", quotes, id, quotes)<=0 ) 
     4775      if( VSIFPrintf(h,"%s%ld%s", quotes, id, quotes)<=0 ) 
    47764776      { 
    47774777        CPLError( CE_Failure, CPLE_AppDefined, "Write failed.\n"); 
  • trunk/gdal/ogr/ogrsf_frmts/mysql/ogrmysqltablelayer.cpp

    r14272 r14430  
    631631    { 
    632632        CPLError( CE_Failure, CPLE_AppDefined, 
    633                   "DeleteFeature(%d) failed.  Unable to delete features " 
     633                  "DeleteFeature(%ld) failed.  Unable to delete features " 
    634634                  "in tables without\n a recognised FID column.", 
    635635                  nFID ); 
  • trunk/gdal/ogr/ogrsf_frmts/shape/ogrshapelayer.cpp

    r14330 r14430  
    394394    { 
    395395        CPLError( CE_Failure, CPLE_AppDefined,  
    396                   "Attempt to delete shape with feature id (%d) which does " 
     396                  "Attempt to delete shape with feature id (%ld) which does " 
    397397                  "not exist.", nFID ); 
    398398        return OGRERR_FAILURE; 
     
    411411    { 
    412412        CPLError( CE_Failure, CPLE_AppDefined,  
    413                   "Attempt to delete shape with feature id (%d), but it is marked deleted already.", 
     413                  "Attempt to delete shape with feature id (%ld), but it is marked deleted already.", 
    414414                  nFID ); 
    415415        return OGRERR_FAILURE; 
  • trunk/gdal/ogr/ogrsf_frmts/tiger/tigerfilebase.cpp

    r10645 r14430  
    224224                  "TigerFileBase::EstablishFeatureCount(): " 
    225225                  "File length %d doesn't divide by record length %d.\n", 
    226                   nFileSize, nRecordLength ); 
     226                  (int) nFileSize, (int) nRecordLength ); 
    227227    } 
    228228