summaryrefslogtreecommitdiff
path: root/xpp/xdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/xdefs.h')
-rw-r--r--xpp/xdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/xdefs.h b/xpp/xdefs.h
index e6e48f6..4c3def9 100644
--- a/xpp/xdefs.h
+++ b/xpp/xdefs.h
@@ -57,10 +57,10 @@ struct list_head { struct list_head *next; struct list_head *prev; };
#define BIT_SET(x,i) ((x) |= BIT(i))
#define BIT_CLR(x,i) ((x) &= ~BIT(i))
#define IS_SET(x,i) (((x) & BIT(i)) != 0)
-#define BITMASK(i) (BIT(i) - 1)
+#define BITMASK(i) (((u64)1 << (i)) - 1)
#define MAX_PROC_WRITE 100 /* Largest buffer we allow writing our /proc files */
-#define CHANNELS_PERXPD 30 /* Depends on xpp_line_t and protocol fields */
+#define CHANNELS_PERXPD 32 /* Depends on xpp_line_t and protocol fields */
#define MAX_SPANNAME 20 /* From zaptel.h */
#define MAX_SPANDESC 40 /* From zaptel.h */