diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-26 12:52:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-26 12:52:42 +0000 |
commit | ded86ea98092bd06a096275ab5e86185eaf46145 (patch) | |
tree | 7bb33ef51b4a2c1f15dc275154cd2c5720935f48 /os | |
parent | 50439eed0df5c61ecb70483ad7d999f0038f1b3d (diff) | |
download | ChibiOS-ded86ea98092bd06a096275ab5e86185eaf46145.tar.gz ChibiOS-ded86ea98092bd06a096275ab5e86185eaf46145.tar.bz2 ChibiOS-ded86ea98092bd06a096275ab5e86185eaf46145.zip |
Fixed some VMTs with new data.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11547 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/lib/streams/memstreams.c | 2 | ||||
-rw-r--r-- | os/hal/lib/streams/nullstreams.c | 2 |
2 files changed, 2 insertions, 2 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. */
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. */
|