Skip to content
Snippets Groups Projects
Commit 6cd5a4af authored by Flávio Cruz's avatar Flávio Cruz
Browse files

Fix compilation warnings when building against hurd-amd64.

Passes mach_msg_type_number_t instead of size_t which have different
sizes. Example warning:

/hurd_pci.c:101:53: warning: passing argument 3 of 'pci_get_dev_regions' from incompatible pointer type [-Wincompatible-pointer-types]
  101 |     err = pci_get_dev_regions(d->device_port, &buf, &size);
      |                                                     ^~~~~
      |                                                     |
      |                                                     size_t * {aka long unsigned int *}
parent 03d0b467
No related branches found
Tags 1.18.3
Loading
Pipeline #998349 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment