]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: ftmod_pritap - Use uint8 for flags (I smell a bug somewhere with bitfields)
authorMoises Silva <moy@sangoma.com>
Tue, 23 Oct 2012 05:52:29 +0000 (00:52 -0500)
committerMoises Silva <moy@sangoma.com>
Mon, 29 Oct 2012 19:33:31 +0000 (15:33 -0400)
libs/freetdm/src/ftmod/ftmod_pritap/ftmod_pritap.c

index 5b94ede432486fcb87e5e0653abac3573a35f11d..551c7632b1d3d1a63913225afe9ab27e14fbd94b 100644 (file)
@@ -51,8 +51,8 @@ typedef struct {
        ftdm_number_t callednum;
        ftdm_channel_t *fchan;
        char callingname[80];
-       int proceeding:1;
-       int inuse:1;
+       uint8_t proceeding;
+       uint8_t inuse;
 } passive_call_t;
 
 typedef enum pritap_iface {