summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-09-22 20:45:27 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-09-22 20:45:27 +0200
commitd1bb1b60942f16ab6d6289cd34303c37e4a1131b (patch)
tree2f15941a43b8155e42dbcc2e69f58dca782b5051 /src/device.c
parent28ca666c6e094a65802c74c98e1c8c38842b22a2 (diff)
download0xFFFF-d1bb1b60942f16ab6d6289cd34303c37e4a1131b.tar.bz2
Fix generating fiasco images
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;