summaryrefslogtreecommitdiffstats
path: root/otherlibs/num/nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/num/nat.h')
-rw-r--r--otherlibs/num/nat.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/otherlibs/num/nat.h b/otherlibs/num/nat.h
index a54f4c13c..ccd650a9f 100644
--- a/otherlibs/num/nat.h
+++ b/otherlibs/num/nat.h
@@ -12,10 +12,7 @@
/* $Id$ */
-/* Nats are represented as unstructured blocks with tag Nat_tag. */
+/* Nats are represented as unstructured blocks with tag Custom_tag. */
-#define Nat_tag Abstract_tag /* works OK with equal because no other
- object uses that tag yet. */
-
-#define Bignum_val(nat) ((BigNum) nat)
+#define Bignum_val(nat) ((BigNum) Data_custom_val(nat))