diff -Nru a/include/asterisk/utils.h b/include/asterisk/utils.h --- a/include/asterisk/utils.h 2004-12-22 21:30:25 -07:00 +++ b/include/asterisk/utils.h 2004-12-22 21:30:25 -07:00 @@ -28,6 +28,8 @@ #define ast_set2_flag(p,value,flag) ((value) ? ast_set_flag(p,flag) : ast_clear_flag(p,flag)) +#define AST_FLAGS_ALL UINT_MAX + static inline int ast_strlen_zero(const char *s) { return (*s == '\0'); @@ -39,7 +41,7 @@ }; struct ast_flags { - int flags; + unsigned int flags; }; extern char *ast_strip(char *buf);