From 1e57eb611238a5e46bbfdc6fdca2ba60fca1d701 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 2 Mar 2012 14:14:33 +0100 Subject: misc: Deal with smatch warnings about the bitfields Use unsigned ints for the bitfield. --- openbsc/include/openbsc/gprs_ns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/include') 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; }; -- cgit v1.2.3