about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-06-26 01:59:03 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-06-26 01:59:03 +0000
commite3dc2cbef260dd0200337f1196253afa66487665 (patch)
tree05584d7ea991b475dc5ee9a44202010ef897ca96 /converter
parent70f64bdbccedbd86d83a97a000f2226abb6bf82e (diff)
downloadnetpbm-mirror-e3dc2cbef260dd0200337f1196253afa66487665.tar.gz
netpbm-mirror-e3dc2cbef260dd0200337f1196253afa66487665.tar.xz
netpbm-mirror-e3dc2cbef260dd0200337f1196253afa66487665.zip
release 10.35.28
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@328 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r--converter/other/fitstopnm.c1
-rw-r--r--converter/other/pamtofits.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/converter/other/fitstopnm.c b/converter/other/fitstopnm.c
index 796ca489..b143882b 100644
--- a/converter/other/fitstopnm.c
+++ b/converter/other/fitstopnm.c
@@ -418,6 +418,7 @@ read_val (fp, bitpix, vp)
         else
             lval = c[0]<<24 | c[1]<<16 | c[2]<<8 | c[3];
         *vp = lval;
+        break;
       
     case -32:
         for (i=0; i<4; i++) {
diff --git a/converter/other/pamtofits.c b/converter/other/pamtofits.c
index d0552a5c..ec271ff3 100644
--- a/converter/other/pamtofits.c
+++ b/converter/other/pamtofits.c
@@ -32,8 +32,8 @@
 struct cmdlineInfo {
     const char * inputFileName;
     unsigned int maxSpec;
-    double max;
-    double min;
+    float max;
+    float min;
 };