[asterisk-commits] file: branch file/bridging r106893 - /team/file/bridging/include/asterisk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 7 16:39:14 CST 2008
Author: file
Date: Fri Mar 7 16:39:14 2008
New Revision: 106893
URL: http://svn.digium.com/view/asterisk?view=rev&rev=106893
Log:
I really meant for all of these to be unsigned.
Modified:
team/file/bridging/include/asterisk/bridging.h
Modified: team/file/bridging/include/asterisk/bridging.h
URL: http://svn.digium.com/view/asterisk/team/file/bridging/include/asterisk/bridging.h?view=diff&rev=106893&r1=106892&r2=106893
==============================================================================
--- team/file/bridging/include/asterisk/bridging.h (original)
+++ team/file/bridging/include/asterisk/bridging.h Fri Mar 7 16:39:14 2008
@@ -94,7 +94,7 @@
int (*thread)(struct ast_bridge *bridge); /*! Callback for replacement thread function */
int (*poke)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel); /*! Callback for poking a bridge technology */
int formats; /*! Formats this bridge technology can support */
- int suspended:1; /*! Is this bridge technology suspended from use or not? */
+ unsigned int suspended:1; /*! Is this bridge technology suspended from use or not? */
AST_RWLIST_ENTRY(ast_bridge_technology) list; /*! Linked list information */
};
@@ -111,7 +111,7 @@
struct ast_bridge_features {
AST_LIST_HEAD_NOLOCK(, ast_bridge_features_hook) hooks; /*! Attached hooks */
struct ast_flags feature_flags; /*! Feature flags */
- int usable:1; /*! Whether this should be considered usable or not */
+ unsigned int usable:1; /*! Whether this should be considered usable or not */
};
struct ast_bridge_channel {
@@ -122,8 +122,8 @@
void *bridge_pvt; /*! Private information unique to the bridge technology (not always needed) */
pthread_t thread; /*! Thread handling the bridged channel */
int fds[4]; /*! Additional file descriptors to look at */
- int suspended:1; /*! Is this bridged channel suspended from the bridge or not? */
- int muted:1; /*! Is this bridged channel muted or not? */
+ unsigned int suspended:1; /*! Is this bridged channel suspended from the bridge or not? */
+ unsigned int muted:1; /*! Is this bridged channel muted or not? */
struct ast_bridge_features *features; /*! Enabled features information */
char dtmf_stream_q[8]; /*! DTMF stream queue */
AST_LIST_ENTRY(ast_bridge_channel) list; /*! Linked list information */
@@ -132,7 +132,7 @@
struct ast_bridge {
ast_mutex_t lock; /*! Lock to protect the bridge */
int num; /*! Number of channels involved in the bridge */
- int rebuild:1; /*! Something outside wants us to rebuild the bridge data */
+ unsigned int rebuild:1; /*! Something outside wants us to rebuild the bridge data */
struct ast_flags feature_flags; /*! Feature flags */
struct ast_bridge_technology *technology; /*! Technology in use on the bridge */
void *bridge_pvt; /*! Private information unique to the bridge technology (not always needed) */
More information about the asterisk-commits
mailing list