From 67e3eab96621f8650c8e73994eba161cea0fd9e6 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 17 Jun 2014 00:25:27 +0000 Subject: [PATCH] --- coders/fits.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coders/fits.c b/coders/fits.c index 519f0084f..b38f9459b 100644 --- a/coders/fits.c +++ b/coders/fits.c @@ -667,8 +667,8 @@ static MagickBooleanType WriteFITSImage(const ImageInfo *image_info, (void) strncpy(fits_info+offset,header,strlen(header)); offset+=80; (void) FormatLocaleString(header,FITSBlocksize,"BITPIX = %10ld", - (long) (quantum_info->format == FloatingPointQuantumFormat ? -1 : 1)* - image->depth); + (long) ((quantum_info->format == FloatingPointQuantumFormat ? -1 : 1)* + image->depth)); (void) strncpy(fits_info+offset,header,strlen(header)); offset+=80; (void) FormatLocaleString(header,FITSBlocksize,"NAXIS = %10lu", -- 2.40.0