Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
replaced cmMemSet, cmMemcpy with memset and memcpy resp AND Removed TRC() traces...
[o-du/l2.git]
/
src
/
du_app
/
du_utils.h
diff --git
a/src/du_app/du_utils.h
b/src/du_app/du_utils.h
index
4ddc7d2
..
7146dc3
100644
(file)
--- a/
src/du_app/du_utils.h
+++ b/
src/du_app/du_utils.h
@@
-48,7
+48,7
@@
_ret = SGetSBuf(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_datPtr, _size); \
if(_ret == ROK) \
_ret = SGetSBuf(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_datPtr, _size); \
if(_ret == ROK) \
- memset(
(uint8_t*)
_datPtr, 0, _size); \
+ memset(_datPtr, 0, _size); \
else \
_datPtr = NULLP; \
}
else \
_datPtr = NULLP; \
}
@@
-66,7
+66,7
@@
if(SGetStaticBuffer(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_buf, (Size) _size, 0) == ROK) \
{ \
if(SGetStaticBuffer(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_buf, (Size) _size, 0) == ROK) \
{ \
- memset((
uint8_t *)(
_buf), 0, _size); \
+ memset((_buf), 0, _size); \
} \
else \
{ \
} \
else \
{ \