From: cristy Date: Tue, 17 Jun 2014 00:25:27 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67e3eab96621f8650c8e73994eba161cea0fd9e6;p=imagemagick --- 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",