Hi

----- Original Message -----
> The most part of the values are already unsigned values. The exceptions,
> that are causing the warnings, are:
> 
> generated_server_marshallers.c:1387:27: warning: comparison between
> signed and unsigned integer expressions [-Wsign-compare]
>              for (j = 0; j < (((src2->width + 7) / 8 ) * src2->height);
> j++) {
>                            ^
> generated_server_marshallers.c:1411:27: warning: comparison between
> signed and unsigned integer expressions [-Wsign-compare]
>              for (j = 0; j < (((4 * src2->width + 7) / 8 ) *
> src2->height); j++) {
>                            ^
> generated_server_marshallers.c:1435:27: warning: comparison between
> signed and unsigned integer expressions [-Wsign-compare]
>              for (j = 0; j < (src2->width * src2->height); j++) {
> 
> And those cannot be negative.

Ah, could we instead cast the result of get_array_size() for the image type 
arrays ?
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to