aboutsummaryrefslogtreecommitdiff
path: root/include/pool.h
diff options
context:
space:
mode:
authorbhgv <bhgv.empire@gmail.com>2020-05-28 12:49:41 +0300
committerbhgv <bhgv.empire@gmail.com>2020-05-28 12:49:41 +0300
commit2b3bc21f3f7edb429302e81f54d2e3c0e89e5acb (patch)
treea6ddafb5f0ebcdf9bca3fd8e4f56874e6faf15bd /include/pool.h
parent8d7c6b15fa5733a3070003520a1d869c0635ef82 (diff)
sup. FreeRTOS riscV-64 (k210 cpu). 4th step
Diffstat (limited to 'include/pool.h')
-rw-r--r--include/pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pool.h b/include/pool.h
index 3775148..66b3479 100644
--- a/include/pool.h
+++ b/include/pool.h
@@ -55,7 +55,7 @@ struct Btail
#define B2LIMIT(b) ((Bhdr*)((uchar*)b + b->csize))
-#define BHDRSIZE ((int)(((Bhdr*)0)->u.data)+sizeof(Btail))
+#define BHDRSIZE ((long)(((Bhdr*)0)->u.data)+sizeof(Btail))
extern void (*poolfault)(void *, char *, ulong);
extern void poolinit(void);