aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-03-24 13:49:49 +0100
committerThomas White <taw@physics.org>2016-03-24 13:49:49 +0100
commit4ae2329d5ecc58ab6fc3e2466c798c8fba4e9c32 (patch)
tree8a9f7704f46001c1f9076c2dace445a4c5eecde0 /libcrystfel/src
parentdd54a1b1d879a3e6b331fee5ff4c9114d0baec45 (diff)
Don't use %C conversion
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/detector.c4
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;
}