about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-08-02 20:10:33 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-08-02 20:10:33 +0000
commit0be57677ef0987124f38b93a5489cec9654fde1f (patch)
tree1533218cd78ae14e2bc022e6cabc77d268f1d4fe
parent9b30de11b4cfe566e1cfba960a4570547980db00 (diff)
downloadnetpbm-mirror-0be57677ef0987124f38b93a5489cec9654fde1f.tar.gz
netpbm-mirror-0be57677ef0987124f38b93a5489cec9654fde1f.tar.xz
netpbm-mirror-0be57677ef0987124f38b93a5489cec9654fde1f.zip
Fix -min, -max: type needs to be float, not double because it is accessed via a pointer to float
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2619 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/other/fitstopnm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/fitstopnm.c b/converter/other/fitstopnm.c
index 4ea2d20a..6fe90a49 100644
--- a/converter/other/fitstopnm.c
+++ b/converter/other/fitstopnm.c
@@ -57,9 +57,9 @@
 struct CmdlineInfo {
     const char * inputFileName;
     unsigned int image;  /* zero if unspecified */
-    double max;
+    float max;
     unsigned int maxSpec;
-    double min;
+    float min;
     unsigned int minSpec;
     unsigned int scanmax;
     unsigned int printmax;