Warn if flags is signed instead of unsigned (bug #3279)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-01-08 19:00:46 +00:00
parent 17acbf1e38
commit 87c9e1db33
4 changed files with 68 additions and 15 deletions

View File

@@ -183,7 +183,7 @@ struct localuser {
int stillgoing;
int metric;
int oldstatus;
int flags; /* flag bits */
unsigned int flags; /* flag bits */
time_t lastcall;
struct member *member;
struct localuser *next;
@@ -224,7 +224,7 @@ struct ast_call_queue {
char moh[80]; /* Name of musiconhold to be used */
char announce[80]; /* Announcement to play when call is answered */
char context[80]; /* Context for this queue */
int flags; /* flag bits */
unsigned int flags; /* flag bits */
int strategy; /* Queueing strategy */
int announcefrequency; /* How often to announce their position */
int roundingseconds; /* How many seconds do we round to? */