diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-03 15:08:54 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-03 15:08:54 +0000 |
commit | 880d6916b3fb25b3972ed78b380db630524623e7 (patch) | |
tree | 9f57ae70320f161adcb84b75ed8870754190016e /os/rt/ports/ARM | |
parent | e2d1dd382a9739c2c9b970f32167d1ae12d2f499 (diff) | |
download | ChibiOS-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/ports/ARM')
-rw-r--r-- | os/rt/ports/ARM/chcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/ports/ARM/chcore.h b/os/rt/ports/ARM/chcore.h index 980a45a8e..2d672d7ac 100644 --- a/os/rt/ports/ARM/chcore.h +++ b/os/rt/ports/ARM/chcore.h @@ -251,7 +251,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.
|