aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-01-13 07:14:39 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-01-13 07:14:39 +0000
commit3cb82507c2744f63e15cb9a947d2db18b0d4a383 (patch)
tree1018fe2ef5f0ef6b0c4363bfeb535cb0eefed917 /os/hal/include
parent3717292e801a36a44a583c4e0fddb654f982ab60 (diff)
downloadChibiOS-3cb82507c2744f63e15cb9a947d2db18b0d4a383.tar.gz
ChibiOS-3cb82507c2744f63e15cb9a947d2db18b0d4a383.tar.bz2
ChibiOS-3cb82507c2744f63e15cb9a947d2db18b0d4a383.zip
Fixed bug #689.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8744 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_buffers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h
index bedc56c56..d68554897 100644
--- a/os/hal/include/hal_buffers.h
+++ b/os/hal/include/hal_buffers.h
@@ -132,7 +132,7 @@ typedef io_buffers_queue_t output_buffers_queue_t;
* @param[in] size size of the buffers
*/
#define BQ_BUFFER_SIZE(n, size) \
- ((size_t)(size) + ((sizeof (size_t)) * (size_t)(n)))
+ (((size_t)(size) + sizeof (size_t)) * (size_t)(n))
/**
* @name Macro Functions