]> Savannah Git Hosting - gnulib.git/commitdiff
vma-iter: Port to 64-bit Haiku.
authorBruno Haible <bruno@clisp.org>
Sat, 16 Jan 2021 18:14:35 +0000 (19:14 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 16 Jan 2021 18:14:35 +0000 (19:14 +0100)
* lib/vma-iter.c (vma_iterate): Adapt to changed signature of
get_next_area_info.

ChangeLog
lib/vma-iter.c

index 6b6d360fbd12712c129697ea0475ec0896672495..d52dca566b856749d64340a5c1a52b8fc0197f72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-16  Bruno Haible  <bruno@clisp.org>
+
+       vma-iter: Port to 64-bit Haiku.
+       * lib/vma-iter.c (vma_iterate): Adapt to changed signature of
+       get_next_area_info.
+
 2021-01-15  Bruno Haible  <bruno@clisp.org>
 
        doc: Update doc about realpath.
index f3bfec4f4bf6dea61db0c2c9280b9a88d0508101..809828b765332c46a8d6a0d91b83d621f8c50648 100644 (file)
@@ -1459,7 +1459,7 @@ vma_iterate (vma_iterate_callback_fn callback, void *data)
   /* Use the BeOS specific API.  */
 
   area_info info;
-  int32 cookie;
+  ssize_t cookie;
 
   cookie = 0;
   while (get_next_area_info (0, &cookie, &info) == B_OK)