Removes TIMER_PARAM_TYPE and replaces it with uintptr_t
Since these variables essentially store pointers, the type should be
uintptr_t to ensure compatibility with both 32-bit and 64-bit platforms.
Test: Compiles
Change-Id: Ibbb6c998660e308ca61cd86474a0fab771ebb039
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
diff --git a/src/gki/ulinux/gki_ulinux.c b/src/gki/ulinux/gki_ulinux.c
index 2b9e02f..f64d317 100644
--- a/src/gki/ulinux/gki_ulinux.c
+++ b/src/gki/ulinux/gki_ulinux.c
@@ -81,7 +81,7 @@
{
uint8_t task_id; /* GKI task id */
TASKPTR task_entry; /* Task entry function*/
- uint32_t params; /* Extra params to pass to task entry function */
+ uintptr_t params; /* Extra params to pass to task entry function */
pthread_cond_t* pCond; /* for android*/
pthread_mutex_t* pMutex; /* for android*/
} gki_pthread_info_t;
@@ -96,7 +96,7 @@
** Returns void
**
*******************************************************************************/
-void gki_task_entry(uint32_t params)
+void gki_task_entry(uintptr_t params)
{
pthread_t thread_id = pthread_self();
gki_pthread_info_t *p_pthread_info = (gki_pthread_info_t *)params;