[Gmp-commit] /var/hg/gmp: mini-gmp/mini-gmp.h: Prepend "unsigned" to MINI_GMP...

mercurial at gmplib.org mercurial at gmplib.org
Sun Nov 17 08:21:45 UTC 2019


details:   /var/hg/gmp/rev/8e6f40b1f0a9
changeset: 17965:8e6f40b1f0a9
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sun Nov 17 09:21:36 2019 +0100
description:
mini-gmp/mini-gmp.h: Prepend "unsigned" to MINI_GMP_LIMB_TYPE

diffstat:

 mini-gmp/mini-gmp.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 7e4646d10822 -r 8e6f40b1f0a9 mini-gmp/mini-gmp.h
--- a/mini-gmp/mini-gmp.h	Sun Nov 17 00:12:24 2019 +0100
+++ b/mini-gmp/mini-gmp.h	Sun Nov 17 09:21:36 2019 +0100
@@ -1,6 +1,6 @@
 /* mini-gmp, a minimalistic implementation of a GNU GMP subset.
 
-Copyright 2011-2015, 2017 Free Software Foundation, Inc.
+Copyright 2011-2015, 2017, 2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MP Library.
 
@@ -54,10 +54,10 @@
 			      void (**) (void *, size_t));
 
 #ifndef MINI_GMP_LIMB_TYPE
-#define MINI_GMP_LIMB_TYPE unsigned long
+#define MINI_GMP_LIMB_TYPE long
 #endif
 
-typedef MINI_GMP_LIMB_TYPE mp_limb_t;
+typedef unsigned MINI_GMP_LIMB_TYPE mp_limb_t;
 typedef long mp_size_t;
 typedef unsigned long mp_bitcnt_t;
 


More information about the gmp-commit mailing list