mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-22 06:46:56 -04:00
The type of `0xffff` is `int`, and UBSan does not like when that value is shifted left by 16 bits, which causes e.g. case APPLE_MIDI_CMD_IN: to not compile with the following error: error: case label does not reduce to an integer constant One could use `0xffffu` to force the type to be `unsigned int`, or simply use `0xffff0000` which has no shifts. This patch does the latter. |
||
|---|---|---|
| .. | ||
| apple-midi.h | ||
| audio.c | ||
| midi.c | ||
| rtp.h | ||
| sap.h | ||
| stream.c | ||
| stream.h | ||