From 4ae2329d5ecc58ab6fc3e2466c798c8fba4e9c32 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 24 Mar 2016 13:49:49 +0100 Subject: Don't use %C conversion --- libcrystfel/src/detector.c | 4 ++-- 1 file 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; } -- cgit v1.2.3