From 0b6d450dacdb918dae46eed181301f7f0a1f9f4b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 17 Aug 2016 13:27:04 +0200 Subject: Fix tests/ring_check --- tests/ring_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ring_check.c b/tests/ring_check.c index 25c0045c..cc8a1c8e 100644 --- a/tests/ring_check.c +++ b/tests/ring_check.c @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) image.dp = malloc(sizeof(float *)); image.dp[0] = malloc(128*128*sizeof(float)); image.bad = malloc(sizeof(uint16_t *)); - image.bad[0] = calloc(128*128, sizeof(uint16_t)); + image.bad[0] = calloc(128*128, sizeof(int)); image.beam = NULL; image.lambda = ph_eV_to_lambda(1000.0); -- cgit v1.2.3