aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/streams/memstreams.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/lib/streams/memstreams.c')
-rw-r--r--os/hal/lib/streams/memstreams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/lib/streams/memstreams.c b/os/hal/lib/streams/memstreams.c
index a4a2fb4a4..6bbd66cef 100644
--- a/os/hal/lib/streams/memstreams.c
+++ b/os/hal/lib/streams/memstreams.c
@@ -84,7 +84,7 @@ static msg_t _get(void *ip) {
return b;
}
-static const struct MemStreamVMT vmt = {_writes, _reads, _put, _get};
+static const struct MemStreamVMT vmt = {(size_t)0, _writes, _reads, _put, _get};
/*===========================================================================*/
/* Driver exported functions. */