[OpenBIOS] r624 - trunk/openbios-devel/forth/system

Stefan Reinauer stepan at coresystems.de
Sun Nov 22 21:41:07 CET 2009


Blue Swirl schrieb:
> diff --git a/modules/client.c b/modules/client.c
> index cf47692..d5d92a3 100644
> --- a/modules/client.c
> +++ b/modules/client.c
> @@ -239,7 +239,7 @@ handle_calls( prom_args_t *pb )
>                 pb->nargs, pb->nret);
>  #endif
>
> -       for( i=pb->nargs-1; i>=0; i-- )
> +        for (i = 0; i < pb->nargs - 1; i++)
>   

Shouldn't this be i = 0; i < pb->nargs; i++


Stefan



More information about the OpenBIOS mailing list