aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/core/bits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/bits.h b/include/osmocom/core/bits.h
index 8d4a0789..eb22d07c 100644
--- a/include/osmocom/core/bits.h
+++ b/include/osmocom/core/bits.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-typedef uint8_t sbit_t; /* soft bit (-127...127) */
+typedef int8_t sbit_t; /* soft bit (-127...127) */
typedef uint8_t ubit_t; /* unpacked bit (0 or 1) */
typedef uint8_t pbit_t; /* packed bis (8 bits in a byte) */