Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6c594be
)
fix issue for C++
chinook
3.0.3
3.0.4
chinook/3.0.3
chinook/3.0.4
chinook_3.0.3
chinook_3.0.4
author
José Bollo
<jose.bollo@iot.bzh>
Tue, 21 Feb 2017 08:22:10 +0000
(09:22 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Fri, 17 Mar 2017 13:34:28 +0000
(14:34 +0100)
Change-Id: I14b5fb9a0f517d5a784cbbc43ca1401877d0f2fe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
include/afb/afb-req-itf.h
patch
|
blob
|
history
diff --git
a/include/afb/afb-req-itf.h
b/include/afb/afb-req-itf.h
index
153887b
..
82372d1
100644
(file)
--- a/
include/afb/afb-req-itf.h
+++ b/
include/afb/afb-req-itf.h
@@
-310,7
+310,7
@@
static inline int afb_req_session_set_LOA(struct afb_req req, unsigned level)
*/
static inline struct afb_req *afb_req_store(struct afb_req req)
{
- struct afb_req *result = malloc(sizeof *result);
+ struct afb_req *result =
(struct afb_req*)
malloc(sizeof *result);
if (result != NULL) {
*result = req;
afb_req_addref(req);