about summary refs log tree commit diff
path: root/analyzer
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-09 05:10:44 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-09 05:10:44 +0000
commit8b7a3351ed7e6c1784e59a65790b7e7ec1e9a5bc (patch)
tree1006893768e34cd79077fa74e576c346f963515c /analyzer
parent3bb2edc4c1563f23e5e2922095eb8d6705e499d1 (diff)
downloadnetpbm-mirror-8b7a3351ed7e6c1784e59a65790b7e7ec1e9a5bc.tar.gz
netpbm-mirror-8b7a3351ed7e6c1784e59a65790b7e7ec1e9a5bc.tar.xz
netpbm-mirror-8b7a3351ed7e6c1784e59a65790b7e7ec1e9a5bc.zip
Release 10.74.03
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2772 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'analyzer')
-rw-r--r--analyzer/ppmhist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/analyzer/ppmhist.c b/analyzer/ppmhist.c
index cc47bb82..9b526606 100644
--- a/analyzer/ppmhist.c
+++ b/analyzer/ppmhist.c
@@ -322,7 +322,7 @@ colornameLabel(pixel        const color,
 
     PPM_DEPTH(color255, color, maxval, 255);
 
-    colorIndex = ppm_findclosestcolor(dictColors, nDictColor, &color);
+    colorIndex = ppm_findclosestcolor(dictColors, nDictColor, &color255);
 
     assert(colorIndex >= 0 && colorIndex < nDictColor);