From: Bastian Dehn Date: Sun, 29 Dec 2024 21:53:22 +0000 (+0100) Subject: fix test image read allocation size X-Git-Tag: v1.0.19^2~10 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=d1f96ba9108e55b6b6b95e7b0da6385fd0db71fa;p=sane-kds-s2000w-net.git fix test image read allocation size --- diff --git a/tests/kds_s2000w_net_read_tests.c b/tests/kds_s2000w_net_read_tests.c index 76c48f0..6d04000 100644 --- a/tests/kds_s2000w_net_read_tests.c +++ b/tests/kds_s2000w_net_read_tests.c @@ -127,7 +127,7 @@ void sane_kds_s2000w_net_read_test() void sane_kds_s2000w_net_read_bw_test() { handler* h = init_handler(); - h->image->size = 655541; + h->image->size = 65541; h->image->data = malloc(sizeof(char) * 65541); char* imagedata = (char*) h->image->data; imagedata[0] = 'P';