grcm: fix issue with Uint32 to Ptr conversion
authorSam Nelson <sam.nelson@ti.com>
Mon, 7 Oct 2019 17:21:14 +0000 (13:21 -0400)
committerSam Nelson <sam.nelson@ti.com>
Tue, 8 Oct 2019 19:51:05 +0000 (15:51 -0400)
Adding cast to UArg to indicate this is intentional

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
packages/ti/grcm/RcmServer.c

index e29ab7add7c4ecf6509557a799aff0c05a7c966c..c241ea6f0626b2c740ae9f524c485a6ec190c689 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2014, Texas Instruments Incorporated
+ * Copyright (c) 2011-2019, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -1529,7 +1529,7 @@ Int RcmServer_execMsg_I(RcmServer_Object *obj, RcmClient_Message *msg)
         System_printf("RcmServer_execMsg_I: Calling fxnIdx: %d\n",
                       (msg->fxnIdx & 0x0000FFFF));
 #endif
-        Task_setEnv(Task_self(), (Ptr)RcmServer_getLocalAddress(obj));
+        Task_setEnv(Task_self(), (Ptr)((UArg)RcmServer_getLocalAddress(obj)));
 #if USE_RPMESSAGE
         if (createFxn)  {
             msg->result = (*createFxn)(obj, msg->dataSize, msg->data);