canopen: Use ssize_t for the return value of read_cb

Use ssize_t for the return value of read_cb.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2020-04-02 16:08:46 +02:00 committed by Johan Hedberg
commit ecf3bcf747

View file

@ -127,7 +127,7 @@ static int canopen_settings_set(const char *key, size_t len_rd,
{
const char *next;
int nlen;
int len;
ssize_t len;
nlen = settings_name_next(key, &next);