[torqueusers] Torque 2.3.6 on PPC64

Gabe Turner gabe at msi.umn.edu
Thu Mar 5 17:30:46 MST 2009


On Thu, Mar 05, 2009 at 04:19:31PM -0800, Garrick Staples wrote:
[snip]
> This patch should fix it.  Can you please check?
> 
> Index: qrerun.c
> ===================================================================
> --- qrerun.c    (revision 2778)
> +++ qrerun.c    (working copy)
> @@ -113,7 +113,7 @@
> 
>    int  errflg = 0;
> 
> -  char c;
> +  int c;
> 
>    static char usage[] = "usage: qrerun [-f] <JOBID>[ <JOBID>]...\n";
> 
> @@ -128,7 +128,7 @@
> 
>    extend[0] = '\0';
> 
> -  while ((c = (char) getopt(argc, argv, GETOPT_ARGS)) != EOF)
> +  while ((c = getopt(argc, argv, GETOPT_ARGS)) != EOF)
>      {
>      switch (c)
>        {

That seems to have worked; the warning is gone.

Thanks!

Gabe

-- 
Gabe Turner                                             gabe at msi.umn.edu
UNIX System Administrator,
University of Minnesota
Supercomputing Institute                          http://www.msi.umn.edu


More information about the torqueusers mailing list