[libgnome-volume-control] build: fix building with -std=c99
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-volume-control] build: fix building with -std=c99
- Date: Tue, 9 Jul 2013 21:13:41 +0000 (UTC)
commit 6826d0a5fe172325cec946244d1ea6590143a03e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jul 9 14:09:05 2013 -0700
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.
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]