summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 25b8c91..3a8abbc 100644
--- a/src/device.c
+++ b/src/device.c
@@ -231,7 +231,7 @@ char ** device_list_alloc_to_bufs(const struct device_list * device_list) {
}
- ret[j][0] = len;
+ ((uint8_t*)ret[j])[0] = len;
++j;