Bug 780698 - 32-bit integer FITS files won't open

Make sure integers don't depend on the hardware (don't use "long", use
"gint32" instead).
This commit is contained in:
Michael Natterer 2017-04-30 19:41:15 +02:00
parent e546b1a97c
commit 3bb1f09dce
1 changed files with 9 additions and 9 deletions

View File

@ -30,15 +30,15 @@
/* Data representations */
typedef unsigned char FitsBitpix8;
typedef short FitsBitpix16;
typedef long FitsBitpix32;
typedef float FitsBitpixM32;
typedef double FitsBitpixM64;
typedef int FitsBool;
typedef long FitsLong;
typedef double FitsDouble;
typedef char FitsString[FITS_CARD_SIZE];
typedef guchar FitsBitpix8;
typedef gint16 FitsBitpix16;
typedef gint32 FitsBitpix32;
typedef float FitsBitpixM32;
typedef double FitsBitpixM64;
typedef gint32 FitsBool;
typedef gint32 FitsLong;
typedef double FitsDouble;
typedef char FitsString[FITS_CARD_SIZE];
typedef enum
{