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:
Cosimo Cecchi 2013-07-09 14:09:05 -07:00 committed by Cosimo Cecchi
parent ed0ec42401
commit 6826d0a5fe

View File

@ -1905,7 +1905,7 @@ create_ui_device_from_port (GvcMixerControl* control,
direction = (is_card_port_an_output (port) == TRUE) ? UIDeviceOutput : UIDeviceInput;
object = g_object_new (GVC_TYPE_MIXER_UI_DEVICE,
"type", (uint)direction,
"type", (guint)direction,
"card", card,
"port-name", port->port,
"description", port->human_port,