This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients koobs, serhiy.storchaka, skrah
Date 2016-11-11.14:03:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478872990.6.0.256289601446.issue28667@psf.upfronthosting.co.za>
In-reply-to
Content
Seems FreeBSD is the only platforms with unsigned FD_SETSIZE. On NetBSD, Linux, and OpenBSD it is defined as just int. [1]

This causes compiler warnings on FreeBSD. [2]

Modules/selectmodule.c:72: warning: comparison between signed and unsigned
Modules/selectmodule.c:112: warning: comparison between signed and unsigned
Modules/selectmodule.c:123: warning: comparison between signed and unsigned
Modules/ossaudiodev.c:476: warning: comparison between signed and unsigned

Proposed patch silences warnings.

[1] https://lists.freebsd.org/pipermail/freebsd-standards/2012-July/002410.html
[2] http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/5310/steps/compile/logs/warnings%20%2817%29
History
Date User Action Args
2016-11-11 14:03:10serhiy.storchakasetrecipients: + serhiy.storchaka, skrah, koobs
2016-11-11 14:03:10serhiy.storchakasetmessageid: <1478872990.6.0.256289601446.issue28667@psf.upfronthosting.co.za>
2016-11-11 14:03:10serhiy.storchakalinkissue28667 messages
2016-11-11 14:03:10serhiy.storchakacreate