diff options
author | Thomas White <taw@physics.org> | 2016-03-24 13:49:49 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-03-24 13:49:49 +0100 |
commit | 4ae2329d5ecc58ab6fc3e2466c798c8fba4e9c32 (patch) | |
tree | 8a9f7704f46001c1f9076c2dace445a4c5eecde0 /libcrystfel/src/detector.c | |
parent | dd54a1b1d879a3e6b331fee5ff4c9114d0baec45 (diff) |
Don't use %C conversion
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index fa581ae2..b8c4bbc1 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -129,7 +129,7 @@ static int assplode_algebraic(const char *a_orig, char ***pbits) if ( !isdigit(ch) && (ch != '.') && (ch != 'x') && (ch != 'y') && (ch != '+') && (ch != '-') ) { - ERROR("Invalid character '%C' found.\n", ch); + ERROR("Invalid character '%c' found.\n", ch); return 0; } @@ -174,7 +174,7 @@ static int dir_conv(const char *a, double *sx, double *sy) assert(len != 0); axis = bits[i][len-1]; if ( (axis != 'x') && (axis != 'y') ) { - ERROR("Invalid symbol '%C' - must be x or y.\n", axis); + ERROR("Invalid symbol '%c' - must be x or y.\n", axis); return 1; } |