Fix #1460: incorrect type name for C++ macro
This commit is contained in:
@@ -59,7 +59,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#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
|
#else
|
||||||
#define FUNC_PTR_CAST(v) (_lv_style_prop_xcb_t)v
|
#define FUNC_PTR_CAST(v) (_lv_style_prop_xcb_t)v
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user