aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/utils.c b/libcrystfel/src/utils.c
index 6c731a83..2f5107e3 100644
--- a/libcrystfel/src/utils.c
+++ b/libcrystfel/src/utils.c
@@ -106,7 +106,7 @@ void show_matrix(gsl_matrix *M)
size_t notrail(char *s)
{
- size_t i;
+ ssize_t i;
size_t munched = 0;
for ( i=strlen(s)-1; i>=0; i-- ) {