1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Fix #1460: incorrect type name for C++ macro

This commit is contained in:
embeddedt 2020-04-17 21:03:19 -04:00 committed by GitHub
parent b196b2c400
commit 40595e4052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ extern "C" {
*/
#ifdef __cplusplus
#define FUNC_PTR_CAST(v) reinterpret_cast<lv_style_prop_cb_t>(v)
#define FUNC_PTR_CAST(v) reinterpret_cast<_lv_style_prop_xcb_t>(v)
#else
#define FUNC_PTR_CAST(v) (_lv_style_prop_xcb_t)v
#endif