Hi all,

In attempting to build uWSGI 0.9.8 for an embedded ARM board, I
receive two warnings in the FCGI parser about comparisons between
signed and unsigned variables. Because of the -Werror flag in
uwsgiconfig.py, this stops the build.

The two errors, which are identical, occur on these lines in proto/fastcgi.c:
    http://projects.unbit.it/uwsgi/browser/proto/fastcgi.c#L257
    http://projects.unbit.it/uwsgi/browser/proto/fastcgi.c#L273

I think the problem is that len is declared as a ssize_t (a signed
type) but ntohs(fr.cl) returns a uint16_t (I would assume).

I'm not sure what the best way is to fix this. Shall I create a ticket in Trac?

Cheers,
Brandon
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to