summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorAshok Bhat <ashok.bhat@arm.com>2014-01-02 14:54:57 +0000
committerDavid Butcher <david.butcher@arm.com>2014-01-02 17:10:14 +0000
commit22d5dc89e77c88821bfa5894fe20ae792d36ddc5 (patch)
treeaf2bb3e8b2ecbd0b859e57800a25fbe5bfbc715e /libvideoeditor
parent8115f4b206dbd04c620f062feb3c7785e2732ab3 (diff)
downloadframeworks_av-22d5dc89e77c88821bfa5894fe20ae792d36ddc5.zip
frameworks_av-22d5dc89e77c88821bfa5894fe20ae792d36ddc5.tar.gz
frameworks_av-22d5dc89e77c88821bfa5894fe20ae792d36ddc5.tar.bz2
Change M4OSA_ERR_CREATE to return unsigned integer.
While M4OSA_ERR is defined as M4OSA_UInt32, MOSA_ERR_CREATE is defined to return M4OSA_Int32. This leads to signed/unsigned comparison warnings. M4OSA_ERR_CREATE has been changed to return M4OSA_UInt32 to fix this issue. Change-Id: I71a5c50a95c7f296469604b486a1d3969d302a3f Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'libvideoeditor')
-rwxr-xr-xlibvideoeditor/osal/inc/M4OSA_Error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvideoeditor/osal/inc/M4OSA_Error.h b/libvideoeditor/osal/inc/M4OSA_Error.h
index 4d59529..75c3177 100755
--- a/libvideoeditor/osal/inc/M4OSA_Error.h
+++ b/libvideoeditor/osal/inc/M4OSA_Error.h
@@ -57,7 +57,7 @@ typedef M4OSA_UInt32 M4OSA_ERR;
* @arg coreID: (IN) [M4OSA_UInt32] CoreID to put in the error code
* @arg errorID: (IN) [M4OSA_UInt32] ErrorID to put in the error code*/
#define M4OSA_ERR_CREATE(severity, coreID, errorID)\
- (M4OSA_Int32)((((M4OSA_UInt32)severity)<<30)+((((M4OSA_UInt32)coreID)&0x003FFF)<<16)+(((M4OSA_UInt32)errorID)&0x00FFFF))
+ (M4OSA_UInt32)((((M4OSA_UInt32)severity)<<30)+((((M4OSA_UInt32)coreID)&0x003FFF)<<16)+(((M4OSA_UInt32)errorID)&0x00FFFF))
/** This macro extracts the 3 fields from the error:
* @arg error: (IN) [M4OSA_ERR] Error code