diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-10-03 01:42:21 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-10-03 01:42:21 +0000 |
commit | 5294826b47df3f9437ae9333fab3fb5c1ea428aa (patch) | |
tree | 5f47be7ac4c754c2dfc8b3963e0b798263c8f26c /generator | |
parent | ac2d80e79ba066908fea219803488f9306482f7e (diff) | |
download | netpbm-mirror-5294826b47df3f9437ae9333fab3fb5c1ea428aa.tar.gz netpbm-mirror-5294826b47df3f9437ae9333fab3fb5c1ea428aa.tar.xz netpbm-mirror-5294826b47df3f9437ae9333fab3fb5c1ea428aa.zip |
Release 10.60.01
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@1750 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rw-r--r-- | generator/pamgauss.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generator/pamgauss.c b/generator/pamgauss.c index 34b510f6..b6afdb7e 100644 --- a/generator/pamgauss.c +++ b/generator/pamgauss.c @@ -19,7 +19,7 @@ struct cmdlineInfo { */ unsigned int width; unsigned int height; - sample maxval; + unsigned int maxval; float sigma; const char * tupletype; }; @@ -83,8 +83,7 @@ parseCommandLine(int argc, char ** argv, else { if (cmdlineP->maxval > PNM_OVERALLMAXVAL) pm_error("The maxval you specified (%u) is too big. " - "Maximum is %u", (unsigned int) cmdlineP->maxval, - PNM_OVERALLMAXVAL); + "Maximum is %u", cmdlineP->maxval, PNM_OVERALLMAXVAL); if (cmdlineP->maxval < 1) pm_error("-maxval must be at least 1"); } |