aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-02-21 09:22:10 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-03-17 14:34:28 +0100
commit2a6a6609d2617cda251b55b5c2fdafd8b19ca279 (patch)
tree226d0563b8b66f4941fcb3e1cf24bd7f30b93d64 /include
parent6c594bea53577e59a4951049b06d33e64c11f7a9 (diff)
Change-Id: I14b5fb9a0f517d5a784cbbc43ca1401877d0f2fe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include')
-rw-r--r--include/afb/afb-req-itf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afb/afb-req-itf.h b/include/afb/afb-req-itf.h
index 153887b0..82372d17 100644
--- 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);