Use unsigned where appropriate.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22885 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-07 18:51:30 +00:00
parent caeaa9d104
commit e36a5a60a5

View File

@@ -106,7 +106,7 @@ main(int argc, char **argv)
char *path; char *path;
char **args; char **args;
int i; unsigned int i;
int optind = 0; int optind = 0;
setprogname(argv[0]); setprogname(argv[0]);
@@ -224,7 +224,7 @@ main(int argc, char **argv)
execvp(path, args); execvp(path, args);
if (errno == ENOENT || c_flag) { if (errno == ENOENT || c_flag) {
char **sh_args = malloc ((i + 2) * sizeof(char *)); char **sh_args = malloc ((i + 2) * sizeof(char *));
int j; unsigned int j;
if (sh_args == NULL) if (sh_args == NULL)
errx (1, "Out of memory copying sh arguments"); errx (1, "Out of memory copying sh arguments");