aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_freertos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_freertos.h')
-rw-r--r--src/gos/gos_freertos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gos_freertos.h b/src/gos/gos_freertos.h
index 9b3d1023..92b48024 100644
--- a/src/gos/gos_freertos.h
+++ b/src/gos/gos_freertos.h
@@ -60,7 +60,7 @@ typedef portBASE_TYPE threadpriority_t;
#define HIGH_PRIORITY configMAX_PRIORITIES-1
/* FreeRTOS will allocate the stack when creating the thread, so pass the size instead of a working area */
-#define DECLARE_THREAD_STACK(name, sz) size_t *name = (size_t *)sz
+#define DECLARE_THREAD_STACK(name, sz) size_t *name = (size_t *)(sz)
#define DECLARE_THREAD_FUNCTION(fnName, param) threadreturn_t fnName(void *param)
#define THREAD_RETURN(retval)