X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_lib.c;h=ac6b699abcb7dffe9bda002fe9c8cb8daf9d8567;hb=a5f35b2204dd87ebe347f11282000852b55810ad;hp=2dd32569ccf7366224b0c062b13d7321e468a35e;hpb=514d4c21e79d37636005186dd9ac5510742b7618;p=o-du%2Fl2.git diff --git a/src/cm/cm_lib.c b/src/cm/cm_lib.c index 2dd32569c..ac6b699ab 100644 --- a/src/cm/cm_lib.c +++ b/src/cm/cm_lib.c @@ -355,7 +355,7 @@ S16 cmStrcmp(const uint8_t *s1,const uint8_t *s2) { /*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/ #if (STRCMP_AVAIL) - return (strcmp((const S8 *)s1, (const S8 *)s2)); + return (strcmp((const char *)s1, (const char *)s2)); #else /* STRCMP_AVAIL */ while (*s1 && *s2) @@ -414,7 +414,7 @@ MsgLen len /* cm_lib_c_001.main_12: Changing from S16 to MsgLen.*/ { /*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/ #if (STRNCMP_AVAIL) - return (strncmp((const S8 *)s1, (const S8 *)s2, (size_t) len)); + return (strncmp((const char *)s1, (const char *)s2, (size_t) len)); #else /* STRNCMP_AVAIL */ while (*s1 && *s2 && len--) @@ -456,7 +456,7 @@ MsgLen cmStrlen(const uint8_t *s) { #if (STRLEN_AVAIL) /*cm_lib_c_001.main_15 : Fix for warning due to mixed declation*/ - return ((MsgLen)strlen((const S8 *)s)); + return ((MsgLen)strlen((const char *)s)); #else /* STRLEN_AVAIL */ MsgLen i;