svn rev #21905: trunk/src/util/ss/
epeisach@MIT.EDU
epeisach at MIT.EDU
Thu Feb 5 21:46:16 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21905
Commit By: epeisach
Log Message:
Unsigned/signed warnings cleanup.
Changed Files:
U trunk/src/util/ss/execute_cmd.c
Modified: trunk/src/util/ss/execute_cmd.c
===================================================================
--- trunk/src/util/ss/execute_cmd.c 2009-02-06 02:45:21 UTC (rev 21904)
+++ trunk/src/util/ss/execute_cmd.c 2009-02-06 02:46:14 UTC (rev 21905)
@@ -138,8 +138,9 @@
int sci_idx;
register char *argv[];
{
- register int i, argc;
+ register unsigned int i, argc;
char **argp;
+ int ret;
argc = 0;
for (argp = argv; *argp; argp++)
@@ -147,9 +148,9 @@
argp = (char **)malloc((argc+1)*sizeof(char *));
for (i = 0; i <= argc; i++)
argp[i] = argv[i];
- i = really_execute_command(sci_idx, argc, &argp);
+ ret = really_execute_command(sci_idx, argc, &argp);
free(argp);
- return(i);
+ return(ret);
}
/*
More information about the cvs-krb5
mailing list