about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-06-25 02:07:52 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-06-25 02:07:52 +0000
commite338284d4342af061df9d8b12b0951b54db40f47 (patch)
tree5c3f26b4ad1d439ebdb5a70a4721f0b2ef3cacd8 /other
parentf07f2b0654945f3cc9c2c3b4b1cfb0f09e5d8a8c (diff)
downloadnetpbm-mirror-e338284d4342af061df9d8b12b0951b54db40f47.tar.gz
netpbm-mirror-e338284d4342af061df9d8b12b0951b54db40f47.tar.xz
netpbm-mirror-e338284d4342af061df9d8b12b0951b54db40f47.zip
Fix incorrect output with normalized arithmetic
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2794 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/pamarith.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/other/pamarith.c b/other/pamarith.c
index b64f69fb..54c18485 100644
--- a/other/pamarith.c
+++ b/other/pamarith.c
@@ -265,7 +265,7 @@ computeOutputType(struct pam *  const outpamP,
 
 
 
-static sample
+static samplen
 samplenSum(samplen      const operands[],
            unsigned int const operandCt) {
 
@@ -282,7 +282,7 @@ samplenSum(samplen      const operands[],
 
 
 
-static sample
+static samplen
 samplenMin(samplen      const operands[],
            unsigned int const operandCt) {
 
@@ -298,7 +298,7 @@ samplenMin(samplen      const operands[],
 
 
 
-static sample
+static samplen
 samplenMax(samplen      const operands[],
            unsigned int const operandCt) {
 
@@ -314,7 +314,7 @@ samplenMax(samplen      const operands[],
 
 
 
-static sample
+static samplen
 samplenMean(samplen      const operands[],
             unsigned int const operandCt) {
 
@@ -329,7 +329,7 @@ samplenMean(samplen      const operands[],
 
 
 
-static sample
+static samplen
 samplenProduct(samplen      const operands[],
                unsigned int const operandCt) {