mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-24 09:50:43 -05:00
build: fix building with -std=c99
The "uint" type is not defined for standard C, and building with -std=c99 enable stricter conformance and results in compilation failing. Use "guint" instead.
This commit is contained in:
parent
ed0ec42401
commit
6826d0a5fe
@ -1905,7 +1905,7 @@ create_ui_device_from_port (GvcMixerControl* control,
|
|||||||
direction = (is_card_port_an_output (port) == TRUE) ? UIDeviceOutput : UIDeviceInput;
|
direction = (is_card_port_an_output (port) == TRUE) ? UIDeviceOutput : UIDeviceInput;
|
||||||
|
|
||||||
object = g_object_new (GVC_TYPE_MIXER_UI_DEVICE,
|
object = g_object_new (GVC_TYPE_MIXER_UI_DEVICE,
|
||||||
"type", (uint)direction,
|
"type", (guint)direction,
|
||||||
"card", card,
|
"card", card,
|
||||||
"port-name", port->port,
|
"port-name", port->port,
|
||||||
"description", port->human_port,
|
"description", port->human_port,
|
||||||
|
Loading…
Reference in New Issue
Block a user