aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/abstractions
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-01-26 11:07:40 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-01-26 11:07:40 +0000
commit4ffa6d466a231b761b325e70f9ec8b5a22f81c38 (patch)
tree8a34a7a9ec33841af5c7746917a69cdec9b3a3ea /os/common/abstractions
parenteaf645b970742927bbe87a216413c70aad4729f3 (diff)
downloadChibiOS-4ffa6d466a231b761b325e70f9ec8b5a22f81c38.tar.gz
ChibiOS-4ffa6d466a231b761b325e70f9ec8b5a22f81c38.tar.bz2
ChibiOS-4ffa6d466a231b761b325e70f9ec8b5a22f81c38.zip
Fixed small problems in NASA OSAL and demos.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12589 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/common/abstractions')
-rw-r--r--os/common/abstractions/nasa_cfe/osal/src/osapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/abstractions/nasa_cfe/osal/src/osapi.c b/os/common/abstractions/nasa_cfe/osal/src/osapi.c
index b4c21bdfe..c3c5110e3 100644
--- a/os/common/abstractions/nasa_cfe/osal/src/osapi.c
+++ b/os/common/abstractions/nasa_cfe/osal/src/osapi.c
@@ -1835,7 +1835,7 @@ int32 OS_TaskCreate(uint32 *task_id,
(stkalign_t *)stack_pointer,
(stkalign_t *)((uint8_t *)stack_pointer + stack_size),
rt_prio,
- (tfunc_t)function_pointer,
+ (tfunc_t)(void *)function_pointer,
NULL
};