Opened 16 years ago

Closed 16 years ago

#2579 closed defect (fixed)

fits.py crashes on int32 test case for 64-bit build

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.5.3
Component: GDAL_Raster Version: 1.5.0
Severity: normal Keywords: fits
Cc: sy@…

Description

All is in title.

This is due to the fact that we map LONG_IMG images to TLONG data type, which is really a 'long', so 32 or 64 bit wide depending on the OS. It is safer to use TINT instead.

Change History (1)

comment:1 by Even Rouault, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk in r15409 and in branches/1.5 in r15410

Note: See TracTickets for help on using tickets.