diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-06-02 17:27:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-06-02 17:27:31 +0000 |
commit | d9578ad0dbbb3cad59073de52cf258497acb5778 (patch) | |
tree | df7ca46405d902b8c51047d328660d6b969f9c0d | |
parent | 3f81701c837ada65d9d5a90e29157dc818e14c08 (diff) | |
download | ChibiOS-d9578ad0dbbb3cad59073de52cf258497acb5778.tar.gz ChibiOS-d9578ad0dbbb3cad59073de52cf258497acb5778.tar.bz2 ChibiOS-d9578ad0dbbb3cad59073de52cf258497acb5778.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1990 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/kernel/src/chqueues.c | 2 | ||||
-rw-r--r-- | readme.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/kernel/src/chqueues.c b/os/kernel/src/chqueues.c index acc7494c2..651b79f4e 100644 --- a/os/kernel/src/chqueues.c +++ b/os/kernel/src/chqueues.c @@ -215,7 +215,7 @@ void chOQInit(OutputQueue *oqp, uint8_t *bp, size_t size, qnotify_t onfy) { oqp->q_buffer = oqp->q_rdptr = oqp->q_wrptr = bp;
oqp->q_top = bp + size;
oqp->q_notify = onfy;
- chSemInit(&oqp->q_sem, size);
+ chSemInit(&oqp->q_sem, (cnt_t)size);
}
/**
diff --git a/readme.txt b/readme.txt index fea5d6ad8..e32988ae3 100644 --- a/readme.txt +++ b/readme.txt @@ -63,8 +63,8 @@ - OPT: Small size optimization in the semaphores subsystem.
- OPT: Improvements in the STM8 port, the code is now smaller and generally
faster, also saved few bytes of RAM.
-- Added explicit casts in chevents.h and chqueues.h in order to silence
- some warnings on a specific compiler.
+- Added explicit casts in chevents.h, chqueues.h, chqueues.c in order to
+ silence some warnings on a specific compiler.
*** 1.5.8 ***
- FIX: Fixed missing files from ST library zip file (bug 3006629).
|