Changeset 14712

Show
Ignore:
Timestamp:
06/16/08 15:43:49 (6 months ago)
Author:
rouault
Message:

Hopefully, will fix crash on cutline.py on Windows machines

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/alg/gdalcutline.cpp

    r14686 r14712  
    255255    double adfGeoTransform[6] = { 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 }; 
    256256 
     257#if defined(WIN32) && defined(_MSC_VER) 
     258    osDPOption.Printf( "DATAPOINTER=0x%p", pabyPolyMask ); 
     259#else 
    257260    osDPOption.Printf( "DATAPOINTER=%p", pabyPolyMask ); 
     261#endif 
    258262    apszOptions[0] = (char *) osDPOption.c_str(); 
    259263