changed length/size params from int to size_t

This commit is contained in:
Todd C. Miller
1996-08-25 21:50:52 +00:00
parent 71cb7c694b
commit a47e58edac

View File

@@ -115,12 +115,13 @@ int top = 0, stacksize = 0;
* The stack for printmatches. A list of allowed commands for the user. * The stack for printmatches. A list of allowed commands for the user.
*/ */
static struct command_match *cm_list = NULL; static struct command_match *cm_list = NULL;
static int cm_list_len = 0, cm_list_size = 0; static size_t cm_list_len = 0, cm_list_size = 0;
/* /*
* List of Cmnd_Aliases and expansions for `sudo -l' * List of Cmnd_Aliases and expansions for `sudo -l'
*/ */
static int in_alias = FALSE, ca_list_len = 0, ca_list_size = 0; static int in_alias = FALSE;
static size_t ca_list_len = 0, ca_list_size = 0;
static struct command_alias *ca_list = NULL; static struct command_alias *ca_list = NULL;
/* /*