diff --git a/build_tools/menuselect.h b/build_tools/menuselect.h
index d3dceef52b6b0a1872adcfefb2ea7e82649ee827..9dae77ac6ee7159a9bf30bd6635008e94534f5c6 100644
--- a/build_tools/menuselect.h
+++ b/build_tools/menuselect.h
@@ -53,11 +53,11 @@ struct member {
 	/*! Default setting */
 	const char *defaultenabled;
 	/*! This module is currently selected */
-	int enabled:1;
+	unsigned int enabled:1;
 	/*! This module has failed dependencies */
-	int depsfailed:1;
+	unsigned int depsfailed:1;
 	/*! This module has failed conflicts */
-	int conflictsfailed:1;
+	unsigned int conflictsfailed:1;
 	/*! dependencies of this module */
 	AST_LIST_HEAD_NOLOCK(, depend) deps;
 	/*! conflicts of this module */
@@ -72,9 +72,9 @@ struct category {
 	/*! the name displayed in the menu */
 	const char *displayname;
 	/*! Display what is selected, as opposed to not selected */
-	int positive_output:1;
+	unsigned int positive_output:1;
 	/*! Force a clean of the source tree if anything in this category changes */
-	int force_clean_on_change:1;
+	unsigned int force_clean_on_change:1;
 	/*! the list of possible values to be set in this variable */
 	AST_LIST_HEAD_NOLOCK(, member) members;
 	/*! for linking */