]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix test image read allocation size
authorBastian Dehn <hhaalo@arcor.de>
Sun, 29 Dec 2024 21:53:22 +0000 (22:53 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 29 Dec 2024 21:53:22 +0000 (22:53 +0100)
tests/kds_s2000w_net_read_tests.c

index 76c48f0aad886286e87a35ac8f9cfe135a6dfe00..6d040007073ef18b05c79a9a851672254cff57d6 100644 (file)
@@ -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';