diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-07-09 14:09:05 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimo@endlessm.com> | 2013-07-09 14:09:05 -0700 |
commit | 6826d0a5fe172325cec946244d1ea6590143a03e (patch) | |
tree | 9248c8d0415a77178724988f92e997be5108e1fc | |
parent | ed0ec4240125ac9f0a6d7502aa29644d37b2eac2 (diff) | |
download | libgnome-volume-control-6826d0a5fe172325cec946244d1ea6590143a03e.tar.gz |
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.
-rw-r--r-- | gvc-mixer-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c index a9969dd..b270523 100644 --- a/gvc-mixer-control.c +++ b/gvc-mixer-control.c @@ -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, |