about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-08-05 22:46:42 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-08-05 22:46:42 +0000
commitd5e474be483b3ce7eed36d63c7644139b529201c (patch)
tree147342e8275d2da7299491d5cdb61c96d08dafff /lib
parent8326bad4f69a059028606bfb4a389cd839a7e63f (diff)
downloadnetpbm-mirror-d5e474be483b3ce7eed36d63c7644139b529201c.tar.gz
netpbm-mirror-d5e474be483b3ce7eed36d63c7644139b529201c.tar.xz
netpbm-mirror-d5e474be483b3ce7eed36d63c7644139b529201c.zip
Make PAM_OVERALL_MAXVAL unsigned long, to match 'sample'
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4572 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/pam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pam.h b/lib/pam.h
index 94c85b4e..99498ed1 100644
--- a/lib/pam.h
+++ b/lib/pam.h
@@ -210,7 +210,7 @@ typedef sample *tuple;
        of the image (see pam.depth above).
     */
 
-#define PAM_OVERALL_MAXVAL 65535
+#define PAM_OVERALL_MAXVAL 65535lu
 
 /* Note: xv uses the same "P7" signature for its thumbnail images (it
    started using it years before PAM and unbeknownst to the designer