[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-commits
Subject:    [Sbcl-commits] master: Change typedef
From:       "Douglas Katzman" <snuglas () users ! sourceforge ! net>
Date:       2017-04-20 16:03:45
Message-ID: 1492704225.432700.5283 () sfp-scm-8 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

The branch "master" has been updated in SBCL:
       via  6f95d7eac3b7c279d40c91c7cc191ad54fd529aa (commit)
      from  12405cbdbee6187e7a832ad12891c8af0a7a4d79 (commit)

- Log -----------------------------------------------------------------
commit 6f95d7eac3b7c279d40c91c7cc191ad54fd529aa
Author: Douglas Katzman <dougk@google.com>
Date:   Thu Apr 20 12:03:19 2017 -0400

    Change typedef
---
 src/runtime/gc-common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/runtime/gc-common.c b/src/runtime/gc-common.c
index 110efe5..607ee8d 100644
--- a/src/runtime/gc-common.c
+++ b/src/runtime/gc-common.c
@@ -1906,9 +1906,9 @@ int varint_unpack(struct varint_unpacker* unpacker, int* result)
 /* Our own implementation of heapsort, because some C libraries have a qsort()
  * that calls malloc() apparently, which we MUST NOT do. */
 
-typedef unsigned long* heap;
+typedef uword_t* heap;
 
-#define swap(a,i,j) { unsigned long temp=a[i];a[i]=a[j];a[j]=temp; }
+#define swap(a,i,j) { uword_t temp=a[i];a[i]=a[j];a[j]=temp; }
 static void sift_down(heap array, int start, int end)
 {
      int root = start;

-----------------------------------------------------------------------


hooks/post-receive
-- 
SBCL

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sbcl-commits mailing list
Sbcl-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic