diff options
| author | geniusgogo <[email protected]> | 2022-01-27 17:23:47 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-28 11:35:10 +0800 |
| commit | 658b2c10277d6f5d35bff355f71fda88d7d9b22c (patch) | |
| tree | 5fd1e60b62af348851d00c6082c8d3e4c51378b2 /components/cplusplus | |
| parent | 039e2ff53076b2a8411d94dc88c7b6157c19098e (diff) | |
fix 32bit & 64bit value to pointer interconvert.
Diffstat (limited to 'components/cplusplus')
| -rw-r--r-- | components/cplusplus/cxx_mail.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/cplusplus/cxx_mail.h b/components/cplusplus/cxx_mail.h index ae3bfb5c41..88770bdd94 100644 --- a/components/cplusplus/cxx_mail.h +++ b/components/cplusplus/cxx_mail.h @@ -51,7 +51,7 @@ public: else tick = rt_tick_from_millisecond(millisec); - return rt_mb_send_wait(&mID, (rt_uint32_t)mptr, tick) == RT_EOK; + return rt_mb_send_wait(&mID, (rt_ubase_t)mptr, tick) == RT_EOK; } /** Get a mail from a queue. |
