From 75da002dbf11c3c3fc1826e10b8e09f877756d6e Mon Sep 17 00:00:00 2001 From: barbieri Date: Thu, 18 Mar 2010 22:06:59 +0000 Subject: [PATCH] char -> uint8_t as it is unsigned... git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47334 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ofono/E_Ofono.h | 2 +- src/lib/ofono/e_ofono_network_reg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ofono/E_Ofono.h b/src/lib/ofono/E_Ofono.h index edf5872..534f7e5 100644 --- a/src/lib/ofono/E_Ofono.h +++ b/src/lib/ofono/E_Ofono.h @@ -80,7 +80,7 @@ extern "C" { EAPI Eina_Bool e_ofono_netreg_mode_get(const E_Ofono_Element *element, const char **mode) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_ofono_netreg_status_get(const E_Ofono_Element *element, const char **status) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; EAPI Eina_Bool e_ofono_netreg_operator_get(const E_Ofono_Element *element, const char **op) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; - EAPI Eina_Bool e_ofono_netreg_strength_get(const E_Ofono_Element *element, char *strength) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; + EAPI Eina_Bool e_ofono_netreg_strength_get(const E_Ofono_Element *element, uint8_t *strength) EINA_ARG_NONNULL(1, 2) EINA_WARN_UNUSED_RESULT; /* Low-Level API: * diff --git a/src/lib/ofono/e_ofono_network_reg.c b/src/lib/ofono/e_ofono_network_reg.c index 31c7ead..3719173 100644 --- a/src/lib/ofono/e_ofono_network_reg.c +++ b/src/lib/ofono/e_ofono_network_reg.c @@ -83,7 +83,7 @@ e_ofono_netreg_operator_get(const E_Ofono_Element *element, const char **op) * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise. */ Eina_Bool -e_ofono_netreg_strength_get(const E_Ofono_Element *element, char *strength) +e_ofono_netreg_strength_get(const E_Ofono_Element *element, uint8_t *strength) { EINA_SAFETY_ON_NULL_RETURN_VAL(element, 0); EINA_SAFETY_ON_NULL_RETURN_VAL(strength, 0); -- 2.7.4