Skip to content
Snippets Groups Projects
Commit 203e0667 authored by Matt Turner's avatar Matt Turner Committed by Marge Bot
Browse files

hw/xfree86: Fix -Wincompatible-pointer-types sbus compile failure

```
../hw/xfree86/common/xf86sbusBus.c: In function ‘xf86SbusConfigureNewDev’:
../hw/xfree86/common/xf86sbusBus.c:751:21: error: passing argument 1 of ‘XNFasprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
  751 |         XNFasprintf(&GDev->busID, "SBUS:%s", promPath);
      |                     ^~~~~~~~~~~~
      |                     |
      |                     const char **
```

Apply the same fix as in commit e1e01d2e ("xfree86/common: Warning
fixes. Mostly const string handling.")

(cherry picked from commit bdacb100)

Part-of: <!1752>
parent 1958e0f2
No related branches found
No related tags found
Loading
Pipeline #1331589 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