Changeset 8669 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Aug 29, 2006, 11:39:44 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r8246 r8669 243 243 file->camera = pmConfigCameraByName(config, words->data[0]); 244 244 if (!file->camera) { 245 psError(PS_ERR_IO, false, "camera %s not found\n", words->data[0]);245 psError(PS_ERR_IO, false, "camera %s not found\n", (char *)words->data[0]); 246 246 psFree(words); 247 247 return NULL; … … 305 305 } 306 306 if (infiles->n < 1) { 307 psError(PS_ERR_IO, false, "Found n == % d files in %s in arguments\n", infiles->n, argname);307 psError(PS_ERR_IO, false, "Found n == %ld files in %s in arguments\n", infiles->n, argname); 308 308 return NULL; 309 309 } … … 318 318 format = pmConfigCameraFormatFromHeader (config, phu); 319 319 if (!format) { 320 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", infiles->data[0]);320 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", (char *)infiles->data[0]); 321 321 psFree(phu); 322 322 return NULL; … … 326 326 fpa = pmFPAConstruct (config->camera); 327 327 if (!fpa) { 328 psError(PS_ERR_IO, false, "Failed to construct FPA from %s", infiles->data[0]);328 psError(PS_ERR_IO, false, "Failed to construct FPA from %s", (char *)infiles->data[0]); 329 329 return NULL; 330 330 } … … 433 433 } 434 434 if (infiles->n <= entry) { 435 psError(PS_ERR_IO, false, "only % d files in %s in argument, entry %d requested\n", infiles->n, argname, entry);435 psError(PS_ERR_IO, false, "only %ld files in %s in argument, entry %d requested\n", infiles->n, argname, entry); 436 436 return NULL; 437 437 } … … 448 448 format = pmConfigCameraFormatFromHeader (config, phu); 449 449 if (!format) { 450 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", infiles->data[0]);450 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", (char *)infiles->data[0]); 451 451 psFree(phu); 452 452 return NULL; … … 456 456 fpa = pmFPAConstruct (config->camera); 457 457 if (!fpa) { 458 psError(PS_ERR_IO, false, "Failed to construct FPA from %s", infiles->data[0]);458 psError(PS_ERR_IO, false, "Failed to construct FPA from %s", (char *)infiles->data[0]); 459 459 return NULL; 460 460 }
Note:
See TracChangeset
for help on using the changeset viewer.
