[kaffe] fix all cases of sign-compare-1
Adam Heath
doogie@debian.org
Sun Mar 28 18:15:09 2004
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---284394836-1835121230-1080510923=:2590
Content-Type: TEXT/PLAIN; charset=US-ASCII
All sign-compare-1 warnings are now fixed.
ps: Compile kaffe, saving stdout and stderr to a log file. Run
http://www.brainfood.com/~doogie/sort-warnings.pl over the log. You may want
to add more regex, as needed.
---284394836-1835121230-1080510923=:2590
Content-Type: TEXT/plain; name="sign-compare-1_inflate.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0403281555230.2590@yakko.doogie.org>
Content-Description:
Content-Disposition: attachment; filename="sign-compare-1_inflate.diff"
SW5kZXg6IGthZmZlL2thZmZldm0vaW5mbGF0ZS5jDQo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09DQpSQ1MgZmlsZTogL2N2cy9rYWZmZS9rYWZmZS9rYWZmZS9r
YWZmZXZtL2luZmxhdGUuYyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTEN
CmRpZmYgLXUgLXIxLjExIGluZmxhdGUuYw0KLS0tIGthZmZlL2thZmZldm0v
aW5mbGF0ZS5jCTIyIFNlcCAyMDAzIDE1OjMxOjI0IC0wMDAwCTEuMTENCisr
KyBrYWZmZS9rYWZmZXZtL2luZmxhdGUuYwkyOCBNYXIgMjAwNCAyMToyNjox
NyAtMDAwMA0KQEAgLTMzLDE0ICszMywxNCBAQA0KIAl9IHY7DQogfSBodWZ0
Ow0KIA0KLXN0YXRpYyBpbnQgaW5mbGF0ZV9jb2RlcyhpbmZsYXRlSW5mbyos
IGh1ZnQqLCBodWZ0KiwgaW50LCBpbnQpOw0KK3N0YXRpYyBpbnQgaW5mbGF0
ZV9jb2RlcyhpbmZsYXRlSW5mbyosIGh1ZnQqLCBodWZ0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tYmVyIG9mIGJpdHMgaW4gY3VycmVudCBjb2RlICov
DQorICByZWdpc3RlciBzaXplX3QgazsgICAgICAgICAgICAvKiBudW1iZXIg
b2YgYml0cyBpbiBjdXJyZW50IGNvZGUgKi8NCiAgIGludCBseFtCTUFYKzFd
OyAgICAgICAgICAgICAgIC8qIG1lbW9yeSBmb3IgbFstMS4uQk1BWC0xXSAq
Lw0KICAgaW50ICpsID0gbHgrMTsgICAgICAgICAgICAgICAgLyogc3RhY2sg
b2YgYml0cyBwZXIgdGFibGUgKi8NCiAgIHJlZ2lzdGVyIHVuc2lnbmVkICpw
OyAgICAgICAgIC8qIHBvaW50ZXIgaW50byBjW10sIGJbXSwgb3IgdltdICov
DQpAQCAtNjQ4LDExICs2NDgsMTEgQEANCiAgIGh1ZnQgcjsgICAgICAgICAg
ICAgICAgLyogdGFibGUgZW50cnkgZm9yIHN0cnVjdHVyZSBhc3NpZ25tZW50
ICovDQogICBodWZ0ICp1W0JNQVhdOyAgICAgICAgIC8qIHRhYmxlIHN0YWNr
ICovDQogICB1bnNpZ25lZCB2W05fTUFYXTsgICAgICAgICAgICAvKiB2YWx1
ZXMgaW4gb3JkZXIgb2YgYml0IGxlbmd0aCAqLw0KLSAgcmVnaXN0ZXIgaW50
IHc7ICAgICAgICAgICAgICAgLyogYml0cyBiZWZvcmUgdGhpcyB0YWJsZSA9
PSAobCAqIGgpICovDQorICByZWdpc3RlciBzaXplX3QgdzsgICAgICAgICAg
ICAvKiBiaXRzIGJlZm9yZSB0aGlzIHRhYmxlID09IChsICogaCkgKi8NCiAg
IHVuc2lnbmVkIHhbQk1BWCsxXTsgICAgICAgICAgIC8qIGJpdCBvZmZzZXRz
LCB0aGVuIGNvZGUgc3RhY2sgKi8NCiAgIHVuc2lnbmVkICp4cDsgICAgICAg
ICAgICAgICAgIC8qIHBvaW50ZXIgaW50byB4ICovDQogICBpbnQgeTsgICAg
ICAgICAgICAgICAgICAgICAgICAvKiBudW1iZXIgb2YgZHVtbXkgY29kZXMg
YWRkZWQgKi8NCi0gIHVuc2lnbmVkIHo7ICAgICAgICAgICAgICAgICAgIC8q
IG51bWJlciBvZiBlbnRyaWVzIGluIGN1cnJlbnQgdGFibGUgKi8NCisgIHNp
emVfdCB6OyAgICAgICAgICAgICAgICAgICAgIC8qIG51bWJlciBvZiBlbnRy
aWVzIGluIGN1cnJlbnQgdGFibGUgKi8NCiANCiANCiAgIC8qIEdlbmVyYXRl
IGNvdW50cyBmb3IgZWFjaCBiaXQgbGVuZ3RoICovDQpAQCAtNzM0LDcgKzcz
NCw3IEBADQogICAgICAgICB3ICs9IGxbaCsrXTsgICAgICAgICAgICAvKiBh
ZGQgYml0cyBhbHJlYWR5IGRlY29kZWQgKi8NCiANCiAgICAgICAgIC8qIGNv
bXB1dGUgbWluaW11bSBzaXplIHRhYmxlIGxlc3MgdGhhbiBvciBlcXVhbCB0
byAqbSBiaXRzICovDQotICAgICAgICB6ID0gKHogPSBnIC0gdykgPiAodW5z
aWduZWQpKm0gPyAqbSA6IHo7ICAgICAgICAvKiB1cHBlciBsaW1pdCAqLw0K
KyAgICAgICAgeiA9ICh6ID0gZyAtIHcpID4gKm0gPyAqbSA6IHo7ICAgICAg
ICAvKiB1cHBlciBsaW1pdCAqLw0KICAgICAgICAgaWYgKChmID0gMSA8PCAo
aiA9IGsgLSB3KSkgPiBhICsgMSkgICAgIC8qIHRyeSBhIGstdyBiaXQgdGFi
bGUgKi8NCiAgICAgICAgIHsgICAgICAgICAgICAgICAgICAgICAgIC8qIHRv
byBmZXcgY29kZXMgZm9yIGstdyBiaXQgdGFibGUgKi8NCiAgICAgICAgICAg
ZiAtPSBhICsgMTsgICAgICAgICAgIC8qIGRlZHVjdCBjb2RlcyBmcm9tIHBh
dHRlcm5zIGxlZnQgKi8NCkluZGV4OiBrYWZmZS9rYWZmZXZtL2luZmxhdGUu
aA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT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