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

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