aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/streams/nullstreams.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/lib/streams/nullstreams.c')
-rw-r--r--os/hal/lib/streams/nullstreams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/lib/streams/nullstreams.c b/os/hal/lib/streams/nullstreams.c
index d21ecd990..c15455b22 100644
--- a/os/hal/lib/streams/nullstreams.c
+++ b/os/hal/lib/streams/nullstreams.c
@@ -73,7 +73,7 @@ static msg_t get(void *ip) {
return 4;
}
-static const struct NullStreamVMT vmt = {writes, reads, put, get};
+static const struct NullStreamVMT vmt = {(size_t)0, writes, reads, put, get};
/*===========================================================================*/
/* Driver exported functions. */