bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* vma-iter: Port to 64-bit Haiku
@ 2021-01-17  8:08 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2021-01-17  8:08 UTC (permalink / raw)
  To: bug-gnulib

On Haiku/x86_64 the call to get_next_area_info emits a warning, because
the signature of this function has changed. This patch fixes it.


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.

diff --git a/lib/vma-iter.c b/lib/vma-iter.c
index f3bfec4..809828b 100644
--- a/lib/vma-iter.c
+++ b/lib/vma-iter.c
@@ -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)



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-17  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17  8:08 vma-iter: Port to 64-bit Haiku Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).