summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'psi/inamedef.h')
-rw-r--r--psi/inamedef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/psi/inamedef.h b/psi/inamedef.h
index 86731419..b8a1621c 100644
--- a/psi/inamedef.h
+++ b/psi/inamedef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2019 Artifex Software, Inc.
+/* Copyright (C) 2001-2020 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -62,7 +62,7 @@ struct name_s {
/* pvalue == pv_other: other status */
#define pv_other ((ref *)1)
/* pvalue != pv_no_defn, pvalue != pv_other: pvalue is valid */
-#define pv_valid(pvalue) ((unsigned long)(pvalue) > 1)
+#define pv_valid(pvalue) ((uintptr_t)(pvalue) > 1)
ref *pvalue; /* if only defined in systemdict or */
/* userdict, this points to the value */
};