]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix char set converter test
authorBastian Dehn <hhaalo@arcor.de>
Thu, 9 Oct 2025 18:03:30 +0000 (20:03 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Thu, 9 Oct 2025 18:03:30 +0000 (20:03 +0200)
tests/kds_s2000w_image_converter_tests.c

index ff0ffd3f903deed1f213425f8e2fb06201bf2a78..cbdd9c90550f65fda372022880a9dee67b91b5d1 100644 (file)
@@ -26,7 +26,7 @@ void get_metadata_from_image_test()
        image_data[9] = 0x35;
        image_data[10] = 0x0a;
        for (uint32_t i = 11; i < 17; i++) {
-               image_data[i] = 0xff;
+               image_data[i] = (char) 0xff;
        }
        image_metadata* mdata = malloc(sizeof(image_metadata));
        mdata->width = 0;