Changeset 40553 for trunk/psastro
- Timestamp:
- Oct 20, 2018, 9:10:43 PM (8 years ago)
- Location:
- trunk/psastro/src
- Files:
-
- 2 edited
-
psastroModelArguments.c (modified) (1 diff)
-
psastroModelParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroModelArguments.c
r21409 r40553 65 65 // each additional word is a file; create names INPUT.%d for them 66 66 for (int i = 0; i < argc - 1; i++) { 67 char name[ 16];68 snprintf (name, 16, "INPUT.%d", i);67 char name[PS_SMALLWORD]; 68 ps_snprintf_nowarn (name, PS_SMALLWORD, "INPUT.%d", i); 69 69 psArray *array = psArrayAlloc(1); 70 70 array->data[0] = psStringCopy (argv[i+1]); -
trunk/psastro/src/psastroModelParseCamera.c
r21409 r40553 24 24 // but does not load the data) 25 25 for (int i = 0; i < nInput; i++) { 26 char name[ 16];27 snprintf (name, 16, "INPUT.%d", i);26 char name[PS_SMALLWORD]; 27 ps_snprintf_nowarn (name, PS_SMALLWORD, "INPUT.%d", i); 28 28 input = pmFPAfileDefineFromArgs (&status, config, "PSASTRO.WCS", name); 29 29 }
Note:
See TracChangeset
for help on using the changeset viewer.
