diff --git a/loader/preloader.c b/loader/preloader.c index 5648158f3e5..0034e9a948c 100644 --- a/loader/preloader.c +++ b/loader/preloader.c @@ -1006,7 +1006,8 @@ static int is_in_preload_range( const ElfW(auxv_t) *av, int type ) /* set the process name if supported */ static void set_process_name( int argc, char *argv[] ) { - unsigned int i, off; + int i; + unsigned int off; char *p, *name, *end; /* set the process short name */