[Python-Dev] Warnings in mmapmodule

Tim Peters tim_one@email.msn.com
Wed, 21 Jun 2000 00:53:59 -0400


I get these warnings in Modules/mmapmodule.c, all about signed/unsigned
mismatches:

Modules\mmapmodule.c(571) : warning C4018: '>=' : signed/unsigned mismatch
	if (i < 0 || i >= self->size) {
Modules\mmapmodule.c(586) : warning C4018: '>' : signed/unsigned mismatch
	else if (ilow > self->size)
Modules\mmapmodule.c(592) : warning C4018: '>' : signed/unsigned mismatch
	else if (ihigh > self->size)
Modules\mmapmodule.c(631) : warning C4018: '>' : signed/unsigned mismatch
	else if (ilow > self->size)
Modules\mmapmodule.c(637) : warning C4018: '>' : signed/unsigned mismatch
	else if (ihigh > self->size)
Modules\mmapmodule.c(664) : warning C4018: '>=' : signed/unsigned mismatch
	if (i < 0 || i >= self->size) {

I'll volunteer to fix these if nobody else does (although at the moment I'm
not able to produce either a patch or check in).

new-laptops-in-hotel-rooms-have-their-limitations-ly y'rs  - tim