]> git.imager.perl.org - imager.git/blobdiff - datatypes.h
irc log of documentation layout discussion
[imager.git] / datatypes.h
index 78f6398f40abd467631b89c52b4a8421505ceedf..13bdbe82ca33dfcdaa7138bc527b1034d4410b3f 100644 (file)
@@ -57,7 +57,7 @@ typedef enum {
   /* a paletted image might have one bit per sample */
   i_8_bits = 8,
   i_16_bits = 16,
-  i_double_bits = 64
+  i_double_bits = sizeof(double) * 8,
 } i_img_bits_t;
 
 typedef struct {