aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/templates
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-03 15:08:54 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-03 15:08:54 +0000
commit880d6916b3fb25b3972ed78b380db630524623e7 (patch)
tree9f57ae70320f161adcb84b75ed8870754190016e /os/rt/templates
parente2d1dd382a9739c2c9b970f32167d1ae12d2f499 (diff)
downloadChibiOS-880d6916b3fb25b3972ed78b380db630524623e7.tar.gz
ChibiOS-880d6916b3fb25b3972ed78b380db630524623e7.tar.bz2
ChibiOS-880d6916b3fb25b3972ed78b380db630524623e7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7713 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/templates')
-rw-r--r--os/rt/templates/chcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/templates/chcore.h b/os/rt/templates/chcore.h
index af09b2efd..39d173608 100644
--- a/os/rt/templates/chcore.h
+++ b/os/rt/templates/chcore.h
@@ -177,7 +177,7 @@ struct context {
*/
#define PORT_WA_SIZE(n) (sizeof(struct port_intctx) + \
sizeof(struct port_extctx) + \
- (n) + (PORT_INT_REQUIRED_STACK))
+ ((size_t)(n)) + ((size_t)(PORT_INT_REQUIRED_STACK)))
/**
* @brief IRQ prologue code.