Files
raylib/src
Rob Loach c14c7f0b69 raudio: Fix warning on discarded const qualifier (#2967)
The `qoaplay_open()` function expects a `char *`, but we are passing in a `const char *`. While this works just fine, it does issue a compiler warning when strict:

```
src/raudio.c: In function ‘LoadMusicStream’:
src/raudio.c:1290:45: warning: passing argument 1 of ‘qoaplay_open’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1290 |         qoaplay_desc *ctxQoa = qoaplay_open(fileName);
      |                                             ^~~~~~~~
In file included from src/raudio.c:233:
src/external/qoaplay.c:86:34: note: expected ‘char *’ but argument is of type ‘const char *’
   86 | qoaplay_desc *qoaplay_open(char *path)
      |                            ~~~~~~^~~~
```

This change casts the argument to a `char *` to fix the warning.
2023-03-19 11:16:52 +01:00
..
2023-03-13 11:48:34 +01:00
2023-03-15 17:51:23 +01:00
2023-01-01 16:07:51 +01:00
2023-03-12 20:14:32 +01:00
2023-03-12 20:14:32 +01:00
2018-09-26 16:02:42 +02:00
2023-01-01 16:07:51 +01:00
2023-03-12 20:14:32 +01:00
2023-02-05 16:30:23 +01:00
2023-03-14 13:06:17 +01:00
2023-03-13 12:08:23 +01:00
2023-03-13 12:08:23 +01:00
2023-03-13 12:08:23 +01:00
2023-01-01 16:07:51 +01:00