summaryrefslogtreecommitdiff
path: root/otherlibs/num/bng.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2005-09-22 14:21:50 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2005-09-22 14:21:50 +0000
commit3de54dec267abf845ca32bd1f6026834cc04d853 (patch)
treedaa34de1fd38e86c2dd0c67896c3c5748511fe1c /otherlibs/num/bng.h
parent11524e2578b62fa30620121873aa372b180c0a74 (diff)
downloadocaml-3de54dec267abf845ca32bd1f6026834cc04d853.tar.gz
Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/num/bng.h')
-rw-r--r--otherlibs/num/bng.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/otherlibs/num/bng.h b/otherlibs/num/bng.h
index 28c6b2d105..74dd1bd6e8 100644
--- a/otherlibs/num/bng.h
+++ b/otherlibs/num/bng.h
@@ -14,11 +14,12 @@
/* $Id$ */
#include <string.h>
+#include "config.h"
-typedef unsigned long bngdigit;
+typedef uintnat bngdigit;
typedef bngdigit * bng;
typedef unsigned int bngcarry;
-typedef unsigned long bngsize;
+typedef uintnat bngsize;
#define BNG_BITS_PER_DIGIT (sizeof(bngdigit) * 8)
#define BNG_BITS_PER_HALF_DIGIT (sizeof(bngdigit) * 4)