mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
ca_ci.cpp: fix -fpermissive error on aarch64 only arm/mips hardware, thx flk ;-)
This commit is contained in:
@@ -56,7 +56,11 @@ static cCA* pcCAInstance = NULL;
|
|||||||
/* nur diese Message wird vom CI aus neutrinoMessages.h benutzt */
|
/* nur diese Message wird vom CI aus neutrinoMessages.h benutzt */
|
||||||
/* für den CamMsgHandler, darum hier einfach mal definiert */
|
/* für den CamMsgHandler, darum hier einfach mal definiert */
|
||||||
/* die Feinheiten werden ja in CA_MESSAGE verpackt */
|
/* die Feinheiten werden ja in CA_MESSAGE verpackt */
|
||||||
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
|
uintptr_t EVT_CA_MESSAGE = 0x80000000 + 60;
|
||||||
|
#else
|
||||||
uint32_t EVT_CA_MESSAGE = 0x80000000 + 60;
|
uint32_t EVT_CA_MESSAGE = 0x80000000 + 60;
|
||||||
|
#endif
|
||||||
|
|
||||||
static cs_messenger cam_messenger = NULL;
|
static cs_messenger cam_messenger = NULL;
|
||||||
|
|
||||||
@@ -479,7 +483,12 @@ bool cCA::SendMessage(const CA_MESSAGE *msg)
|
|||||||
{
|
{
|
||||||
hal_debug("%s\n", __func__);
|
hal_debug("%s\n", __func__);
|
||||||
if(cam_messenger)
|
if(cam_messenger)
|
||||||
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
|
cam_messenger(EVT_CA_MESSAGE, (uintptr_t) msg);
|
||||||
|
#else
|
||||||
cam_messenger(EVT_CA_MESSAGE, (uint32_t) msg);
|
cam_messenger(EVT_CA_MESSAGE, (uint32_t) msg);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if z_debug
|
#if z_debug
|
||||||
printf("*******Message\n");
|
printf("*******Message\n");
|
||||||
printf("msg: %p\n", msg);
|
printf("msg: %p\n", msg);
|
||||||
|
Reference in New Issue
Block a user