+2013-03-05 Yao Qi <yao@codesourcery.com>
+
+ * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
+ parameter VAR's type from "unsigned int" to "int".
+ * command.h (var_zuinteger_unlimited): Update its comments.
+ (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
+
2013-03-05 Corinna Vinschen <vinschen@redhat.de>
* NEWS: Mention new target x86_64-*-cygwin*.
/* ZeroableUnsignedInteger. *VAR is an unsigned int. Zero really
means zero. */
var_zuinteger,
- /* ZeroableUnsignedInteger with unlimited value. *VAR is an unsigned
- int, but its range is [0, INT_MAX]. -1 stands for unlimited. */
+ /* ZeroableUnsignedInteger with unlimited value. *VAR is an int,
+ but its range is [0, INT_MAX]. -1 stands for unlimited and
+ other negative numbers are not allowed. */
var_zuinteger_unlimited,
/* Enumerated type. Can only have one of the specified values.
*VAR is a char pointer to the name of the element that we
extern void
add_setshow_zuinteger_unlimited_cmd (char *name,
enum command_class class,
- unsigned int *var,
+ int *var,
const char *set_doc,
const char *show_doc,
const char *help_doc,