[Asterisk-cvs] asterisk/apps app_queue.c, 1.112, 1.113 app_voicemail.c, 1.192, 1.193

markster at lists.digium.com markster at lists.digium.com
Sat Jan 8 12:56:18 CST 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv7306/apps

Modified Files:
	app_queue.c app_voicemail.c 
Log Message:
Warn if flags is signed instead of unsigned (bug #3279)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- app_queue.c	8 Jan 2005 17:23:29 -0000	1.112
+++ app_queue.c	8 Jan 2005 19:00:46 -0000	1.113
@@ -183,7 +183,7 @@
 	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 @@
 	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? */

Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- app_voicemail.c	3 Jan 2005 02:01:58 -0000	1.192
+++ app_voicemail.c	8 Jan 2005 19:00:46 -0000	1.193
@@ -157,7 +157,7 @@
 	char dialout[80];
 	char uniqueid[20];		/* Unique integer identifier */
 	char exit[80];
-	int flags;			/* VM_ flags */	
+	unsigned int flags;		/* VM_ flags */	
 	int saydurationm;
 	struct ast_vm_user *next;
 };




More information about the svn-commits mailing list