aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-03-02 14:14:33 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-03-02 14:14:33 +0100
commit1e57eb611238a5e46bbfdc6fdca2ba60fca1d701 (patch)
tree52e5f1b9b126baf6320309d7df6afd54218a0964
parent52746469ff3d9aee14ba9fe2cffb22ce306a65ad (diff)
misc: Deal with smatch warnings about the bitfields
Use unsigned ints for the bitfield.
-rw-r--r--openbsc/include/openbsc/gprs_ns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gprs_ns.h b/openbsc/include/openbsc/gprs_ns.h
index f0ec26ed..7045d84d 100644
--- a/openbsc/include/openbsc/gprs_ns.h
+++ b/openbsc/include/openbsc/gprs_ns.h
@@ -154,7 +154,7 @@ struct gprs_ns_inst {
struct {
struct osmo_fd fd;
uint32_t local_ip;
- int enabled:1;
+ unsigned int enabled:1;
} frgre;
};