Ticket #2119 (closed defect: fixed)
terragen: overflow in implicit constant conversion
| Reported by: | rouault | Owned by: | rayg |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.1 |
| Component: | default | Version: | 1.4.4 |
| Severity: | normal | Keywords: | terragen |
| Cc: | warmerdam, mloskot |
Description
When compiling GDAL (1.5, and 1.4.X probably), the following warning is emitted :
terragendataset.cpp: In constructor 'TerragenDataset::TerragenDataset()': terragendataset.cpp:463: warning: overflow in implicit constant conversion
Declaration : GInt16 m_nHeightScale;
Initialization: m_nHeightScale = 65536;
Hence the warning.
Change History
Note: See
TracTickets for help on using
tickets.
