commit | f4ad8d913faf90e0f76f581b34165c93f4b3737f | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Wed May 12 17:58:41 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Wed May 12 17:58:41 2010 +0000 |
tree | c5971520e728d8c7a4e701a739d7e559e529c110 | |
parent | e6bbc096d4c8eb99e5bbc43b70cbaf8a586a3f04 [diff] [blame] |
diff --git a/magick/quantum-private.h b/magick/quantum-private.h index ec8cae2..c9322fa 100644 --- a/magick/quantum-private.h +++ b/magick/quantum-private.h
@@ -564,7 +564,7 @@ { if (quantum <= 0.0) return(0); - if ((quantum/65537.0) >= 65535.0) + if ((quantum/281479271743489.0) >= 65535.0) return(65535); return((unsigned short) (quantum/281479271743489.0+0.5)); }