If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED FIXED

Status

()

Core
Internationalization
RESOLVED FIXED
12 years ago
6 years ago

People

(Reporter: wolfiR, Assigned: smontagu)

Tracking

1.8 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
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
(Assignee)

Comment 1

12 years ago
This is fixed on trunk by bug 210502. Maybe we should just check that into the branch.
(Reporter)

Comment 2

12 years ago
ah, I didn't notice sorry. Nevertheless it would be interesting to have it in 1.8branch too.
QA Contact: amyy → i18n

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.