---
include/osmocom/core/msgb.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/osmocom/core/msgb.h b/include/osmocom/core/msgb.h
index fe2733b..5610a22 100644
--- a/include/osmocom/core/msgb.h
+++ b/include/osmocom/core/msgb.h
@@ -147,7 +147,7 @@ static inline unsigned int msgb_headlen(const struct msgb *msgb)
* This function computes the amount of octets left in the underlying
* data buffer after the end of the message.
*/
-static inline int msgb_tailroom(const struct msgb *msgb)
+static inline unsigned int msgb_tailroom(const struct msgb *msgb)
{
return (msgb->head + msgb->data_len) - msgb->tail;
}
@@ -159,7 +159,7 @@ static inline int msgb_tailroom(const struct msgb *msgb)
* This function computes the amount of bytes left in the underlying
* data buffer before the start of the actual message.
*/
-static inline int msgb_headroom(const struct msgb *msgb)
+static inline unsigned int msgb_headroom(const struct msgb *msgb)
{
return (msgb->data - msgb->head);
}
--
1.8.3.2
--------------070704060003090203050700--
Show replies by date