From b206e73e07aede711540fe6236dbd856324d34b5 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 24 Sep 2003 17:42:55 +0000 Subject: [PATCH] * BigNums now use uint16_t, not unsigned short. git-svn-id: svn://svn.zoy.org/elk/trunk@186 55e467fa-43c5-0310-a8a2-de718669efc6 --- include/object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/object.h b/include/object.h index 8277b01..a26eda0 100644 --- a/include/object.h +++ b/include/object.h @@ -145,12 +145,12 @@ typedef struct { #define AUTOLOAD(x) ((struct S_Autoload *)POINTER(x)) #define MACRO(x) ((struct S_Macro *)POINTER(x)) -typedef unsigned short gran_t; /* Granularity of bignums */ +typedef uint16_t gran_t; /* Granularity of bignums */ struct S_Bignum { Object minusp; - unsigned int size; /* Number of ushorts allocated */ - unsigned int usize; /* Number of ushorts actually used */ + unsigned int size; /* Number of uint16_t allocated */ + unsigned int usize; /* Number of uint16_t actually used */ gran_t data[1]; /* Data, lsw first */ };