[Gmp-commit] /var/hg/gmp: Make tmp_debug_entry_t::block of type void* so it c...

mercurial at gmplib.org mercurial at gmplib.org
Fri Dec 26 18:08:30 UTC 2014


details:   /var/hg/gmp/rev/d38720832028
changeset: 16544:d38720832028
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Fri Dec 26 19:08:21 2014 +0100
description:
Make tmp_debug_entry_t::block of type void* so it compiles in C++.

diffstat:

 ChangeLog  |  4 ++++
 gmp-impl.h |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 77f1864d5f27 -r d38720832028 ChangeLog
--- a/ChangeLog	Mon Dec 22 20:16:38 2014 +0100
+++ b/ChangeLog	Fri Dec 26 19:08:21 2014 +0100
@@ -1,3 +1,7 @@
+2014-12-26  Marc Glisse  <marc.glisse at inria.fr>
+
+	* gmp-impl.h (tmp_debug_entry_t): Change block to type void*.
+
 2014-12-22  Torbjörn Granlund  <torbjorng at google.com>
 
 	* longlong.h (mips64, mips32): Work around one clang bug.
diff -r 77f1864d5f27 -r d38720832028 gmp-impl.h
--- a/gmp-impl.h	Mon Dec 22 20:16:38 2014 +0100
+++ b/gmp-impl.h	Fri Dec 26 19:08:21 2014 +0100
@@ -427,7 +427,7 @@
 };
 struct tmp_debug_entry_t {
   struct tmp_debug_entry_t  *next;
-  char                      *block;
+  void                      *block;
   size_t                    size;
 };
 __GMP_DECLSPEC void  __gmp_tmp_debug_mark (const char *, int, struct tmp_debug_t **,


More information about the gmp-commit mailing list