Module: kamailio
Branch: master
Commit: aab734e7a31a9df2dc731e849005ce6bb00d534e
URL:
https://github.com/kamailio/kamailio/commit/aab734e7a31a9df2dc731e849005ce6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-04T12:46:23+01:00
rtpengine: unsigned error field of 1-bit to prevent signness warnings
---
Modified: src/modules/rtpengine/bencode.h
---
Diff:
https://github.com/kamailio/kamailio/commit/aab734e7a31a9df2dc731e849005ce6…
Patch:
https://github.com/kamailio/kamailio/commit/aab734e7a31a9df2dc731e849005ce6…
---
diff --git a/src/modules/rtpengine/bencode.h b/src/modules/rtpengine/bencode.h
index 8f3b434e7ac..1a3562d9d49 100644
--- a/src/modules/rtpengine/bencode.h
+++ b/src/modules/rtpengine/bencode.h
@@ -47,7 +47,7 @@ struct bencode_buffer
{
struct __bencode_buffer_piece *pieces;
struct __bencode_free_list *free_list;
- int error : 1; /* set to !0 if allocation failed at any point */
+ unsigned int error : 1; /* set to !0 if allocation failed at any point */
};