Diff between 3e19462712c053499b2c6b9dd6baec1351135086 and 47ea0048e2b00a413b56fdb76370b9ac4bd4ae9c
Changed Files
| File | Additions | Deletions | Status |
| src/shared/hfp.c | +2 | -2 | modified |
Full Patch
diff --git a/src/shared/hfp.c b/src/shared/hfp.c
index e481360..3256931 100644
--- a/src/shared/hfp.c
+++ b/src/shared/hfp.c
@@ -72,7 +72,7 @@ struct cmd_handler {
struct hfp_gw_result {
const char *data;
- int offset;
+ unsigned int offset;
};
static void destroy_cmd_handler(void *data)
@@ -245,8 +245,8 @@ bool hfp_gw_result_get_number_default(struct hfp_gw_result *result,
bool hfp_gw_result_get_number(struct hfp_gw_result *result, unsigned int *val)
{
+ unsigned int i;
int tmp = 0;
- int i;
skip_whitespace(result);