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:12:04 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-09 05:12:04 +0000
commitae38293b8fe84689fb9decc2c1b6e54f32057941 (patch)
treee547f8661f2bdd36e63bfa7e583271ce9a07c6c8 /analyzer
parent8a255b09aea1dcc620670631e41cb593655b18f1 (diff)
downloadnetpbm-mirror-ae38293b8fe84689fb9decc2c1b6e54f32057941.tar.gz
netpbm-mirror-ae38293b8fe84689fb9decc2c1b6e54f32057941.tar.xz
netpbm-mirror-ae38293b8fe84689fb9decc2c1b6e54f32057941.zip
Release 10.47.61
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@2774 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 673c8175..f42adab5 100644
--- a/analyzer/ppmhist.c
+++ b/analyzer/ppmhist.c
@@ -151,7 +151,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);