Michael:
> +Index: modules/FvwmScript/Instructions.c
> +--- modules/FvwmScript/Instructions.c.orig
> ++++ modules/FvwmScript/Instructions.c
> +@@ -665,7 +665,7 @@ static char *GetTime (int *NbArg,long *TabArg)
> +
> + str = (char*)safecalloc(20,sizeof(char));
> + t = time(NULL);
> +- sprintf(str,"%ld",(long)t-x11base->BeginTime);
> ++ sprintf(str,"%lld",(long)t-x11base->BeginTime);
That is incoherent. The cast should match the format string:
sprintf(str,"%lld",(long long)t-x11base->BeginTime);
--
Christian "naddy" Weisgerber [email protected]