aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-08 19:00:46 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-08 19:00:46 +0000
commit9e647d8ca0928abe9680b8e83affe98f68443a3b (patch)
tree18b6a4db8afcab79d414fcac8acc0eebddb2ed2a /apps/app_queue.c
parentd60e4d83c2157c8e10466a721bbdd069aee51fca (diff)
Warn if flags is signed instead of unsigned (bug #3279)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4713 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index b78f947e0..ef7115db4 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -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? */