Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nplanel
Copy link
Contributor

@nplanel nplanel commented Jun 30, 2025

Avoid build error when compiling on arch distro
gcc/distro : arm-none-eabi-gcc (Arch Repository) 14.2.0

romemul/gemdrvemul.c:517:45: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
  517 |     qsort(fdArray, count, sizeof(uint16_t), compare_fd);
      |                                             ^~~~~~~~~~
      |                                             |
      |                                             uint16_t (*)(const void *, const void *) {aka short unsigned int (*)(const void *, const void *)}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant