Changeset 8684 for trunk/stac/src/stacRead.c
- Timestamp:
- Aug 29, 2006, 1:20:21 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stacRead.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacRead.c
r6887 r8684 27 27 psFits *imageFile = psFitsOpen(filenames->data[i], "r"); 28 28 if (!imageFile) { 29 psError(PS_ERR_IO, false, "Unable to open FITS file %s.\n", filenames->data[i]);29 psError(PS_ERR_IO, false, "Unable to open FITS file %s.\n", (char *)filenames->data[i]); 30 30 exit(EXIT_FAILURE); 31 31 } … … 36 36 psImage *image = psFitsReadImage(imageFile, imageRegion, 0); 37 37 if (image == NULL) { 38 psErrorStackPrint(stderr,"Fatal error: Unable to read %s\n", filenames->data[i]);38 psErrorStackPrint(stderr,"Fatal error: Unable to read %s\n", (char *)filenames->data[i]); 39 39 exit(EXIT_FAILURE); 40 40 } … … 190 190 for (int i = 0; i < nFiles; i++) { 191 191 if (strlen(filenames->data[i]) > MAXCHAR - 4) { 192 psLogMsg("stac.read.maps",PS_LOG_ERROR,"Filename %s is too long.\n", filenames->data[i]);192 psLogMsg("stac.read.maps",PS_LOG_ERROR,"Filename %s is too long.\n",(char *)filenames->data[i]); 193 193 exit(EXIT_FAILURE); 194 194 }
Note:
See TracChangeset
for help on using the changeset viewer.
