diff options
author | Jeevaka Badrappan <jeevaka.badrappan@elektrobit.com> | 2011-01-17 17:55:48 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-17 17:05:26 +0100 |
commit | 2b8a35860173f8f4570dc2631c2ce873b68466c1 (patch) | |
tree | 06b9c423c8353c428ffb3bec9825ad09a6ce3864 /src | |
parent | 2910b735cfe8fcec6a97f68137863fd22ca6bb74 (diff) | |
download | ofono-2b8a35860173f8f4570dc2631c2ce873b68466c1.tar.bz2 |
sim: fix issue with sizeof call
In some compilers, sizeof the functional argument is
not returning the actual sizeof the argument.
Diffstat (limited to 'src')
-rw-r--r-- | src/sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -423,7 +423,7 @@ static void sim_pin_retries_query_cb(const struct ofono_error *error, return; } - if (!memcmp(retries, sim->pin_retries, sizeof(retries))) + if (!memcmp(retries, sim->pin_retries, sizeof(sim->pin_retries))) return; memcpy(sim->pin_retries, retries, sizeof(sim->pin_retries)); |