Changeset 12534
- Timestamp:
- 10/25/07 05:14:39 (8 months ago)
- Files:
-
- trunk/gdal/frmts/nitf/nitfdataset.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/frmts/nitf/nitfdataset.cpp
r12524 r12534 2390 2390 /************************************************************************/ 2391 2391 2392 static c har **NITFJP2Options( char **papszOptions )2392 static const char **NITFJP2Options( char **papszOptions ) 2393 2393 2394 2394 { 2395 2395 int i; 2396 static c har *apszOptions[] = {2396 static const char *apszOptions[] = { 2397 2397 "PROFILE=NPJE", 2398 2398 "CODESTREAM_ONLY=TRUE", … … 2400 2400 NULL }; 2401 2401 2402 apszOptions[2] = NULL;2403 2402 for( i = 0; papszOptions != NULL && papszOptions[i] != NULL; i++ ) 2404 2403 { … … 2483 2482 poWritableJ2KDataset = 2484 2483 poJ2KDriver->Create( pszDSName, nXSize, nYSize, nBands, eType, 2485 NITFJP2Options( papszOptions ) );2484 (char **)NITFJP2Options( papszOptions ) ); 2486 2485 CPLFree( pszDSName ); 2487 2486 … … 2688 2687 poJ2KDataset = 2689 2688 poJ2KDriver->CreateCopy( pszDSName, poSrcDS, FALSE, 2690 NITFJP2Options(papszOptions),2689 (char **)NITFJP2Options(papszOptions), 2691 2690 pfnProgress, pProgressData ); 2692 2691 CPLFree( pszDSName );
