Closed Bug 326207 Opened 19 years ago Closed 13 years ago

compiler warnings about "comparison is always true due to limited range of data"

Categories

(Core :: Internationalization, defect)

1.8 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: wolfiR, Assigned: smontagu)

Details

extensions/spellcheck/src/cattable.h
intl/unicharutil/src/cattable.h
which will generated by 
intl/unicharutil/tools/gencattable.pl

are causing compiler warnings:
cattable.h:1477: warning: comparison is always true due to limited range of data
type

unsigned short is always <= 0xffff
This is fixed on trunk by bug 210502. Maybe we should just check that into the branch.
ah, I didn't notice sorry. Nevertheless it would be interesting to have it in 1.8branch too.
QA Contact: amyy → i18n
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.