aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_buffer_inlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp_buffer_inlines.h')
-rw-r--r--platform/linux-generic/include/odp_buffer_inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_buffer_inlines.h b/platform/linux-generic/include/odp_buffer_inlines.h
index 74af38b9c..18d1a2ea5 100644
--- a/platform/linux-generic/include/odp_buffer_inlines.h
+++ b/platform/linux-generic/include/odp_buffer_inlines.h
@@ -190,7 +190,7 @@ static inline void *segment_map(odp_buffer_hdr_t *buf,
return (void *)seg_addr;
}
-static inline int _odp_buffer_event_type(odp_buffer_t buf)
+static inline odp_event_type_t _odp_buffer_event_type(odp_buffer_t buf)
{
return odp_buf_to_hdr(buf)->event_type;
}