aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-08-17 13:27:04 +0200
committerThomas White <taw@physics.org>2016-08-17 13:27:04 +0200
commit0b6d450dacdb918dae46eed181301f7f0a1f9f4b (patch)
tree32582f1eacceda3dc922362879a456f7d130a1de /tests
parentc4a7aafe128a2550453bc8e091550ffa52ab2e43 (diff)
Fix tests/ring_check
Diffstat (limited to 'tests')
-rw-r--r--tests/ring_check.c2
1 files changed, 1 insertions, 1 deletions
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);