summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-23 14:59:59 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:57 +0200
commitd0852c80a93e209f9bb186728ff6cbdae09ead0b (patch)
tree57735e7d6f69ec4042f30eab2ab3d576db8270bc /audio
parentddf8f229ecb3bdd556ae6ee27173876f6b0326fe (diff)
Fix registration_status_change parameter parsing
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 681c9341..214468b8 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -130,8 +130,8 @@ static struct {
uint32_t cell_id;
uint32_t operator_code;
uint32_t country_code;
- uint16_t network_type;
- uint16_t supported_services;
+ uint8_t network_type;
+ uint8_t supported_services;
uint16_t signals_bar;
char *operator_name;
} net = {
@@ -812,8 +812,8 @@ static void handle_registration_status_change(DBusMessage *msg)
DBUS_TYPE_UINT32, &cell_id,
DBUS_TYPE_UINT32, &operator_code,
DBUS_TYPE_UINT32, &country_code,
- DBUS_TYPE_UINT16, &network_type,
- DBUS_TYPE_UINT16, &supported_services,
+ DBUS_TYPE_BYTE, &network_type,
+ DBUS_TYPE_BYTE, &supported_services,
DBUS_TYPE_INVALID)) {
error("Unexpected parameters in registration_status_change");
return;