diff options
author | Sam Nelson <sam.nelson@ti.com> | 2019-10-05 11:11:51 -0400 |
---|---|---|
committer | Sam Nelson <sam.nelson@ti.com> | 2019-10-08 15:50:40 -0400 |
commit | 64cddbfaad2dca4e4ac9e96d6430c36eeeebbb25 (patch) | |
tree | bb7510a0c81e45161f253e7f31145d2b0dc5203b | |
parent | ce07b5e28af0494012bc67dfd6a1e3f32e99acd2 (diff) | |
download | ipc-64cddbfaad2dca4e4ac9e96d6430c36eeeebbb25.tar.gz |
mm: Update code for better portability
Replaced UInt32 with UArg
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r-- | packages/ti/ipc/mm/MmServiceMgr.c | 6 | ||||
-rw-r--r-- | packages/ti/ipc/mm/MmServiceMgr.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/ti/ipc/mm/MmServiceMgr.c b/packages/ti/ipc/mm/MmServiceMgr.c index cfe36d6..1894d80 100644 --- a/packages/ti/ipc/mm/MmServiceMgr.c +++ b/packages/ti/ipc/mm/MmServiceMgr.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2014, Texas Instruments Incorporated + * Copyright (c) 2013-2019, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -108,8 +108,8 @@ Int MmServiceMgr_register(const String name, RcmServer_Params *rcmParams, /* * ======== MmServiceMgr_getId ======== */ -UInt32 MmServiceMgr_getId() +UArg MmServiceMgr_getId() { /* The id has been stashed onto the task environment */ - return ((UInt32)Task_getEnv(Task_self())); + return ((UArg)Task_getEnv(Task_self())); } diff --git a/packages/ti/ipc/mm/MmServiceMgr.h b/packages/ti/ipc/mm/MmServiceMgr.h index c5af4a1..4367370 100644 --- a/packages/ti/ipc/mm/MmServiceMgr.h +++ b/packages/ti/ipc/mm/MmServiceMgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2014, Texas Instruments Incorporated + * Copyright (c) 2013-2019, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -98,7 +98,7 @@ Int MmServiceMgr_start(const String name, Int aryLen, * a service. * */ -UInt32 MmServiceMgr_getId(); +UArg MmServiceMgr_getId(); #if defined (__cplusplus) } |