On Thu, Feb 5, 2015 at 10:20 AM, Ola Liljedahl <[email protected]> wrote:
> Use (signed) int for parameter that should match return type of function. > > Signed-off-by: Ola Liljedahl <[email protected]> > Reviewed-by: Bill Fischofer <[email protected]> > --- > (This document/code contribution attached is provided under the terms of > agreement LES-LTM-21309) > > include/odp/api/schedule.h | 2 +- > platform/linux-generic/odp_schedule.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/odp/api/schedule.h b/include/odp/api/schedule.h > index 3019b84..226dc9b 100644 > --- a/include/odp/api/schedule.h > +++ b/include/odp/api/schedule.h > @@ -87,7 +87,7 @@ odp_event_t odp_schedule(odp_queue_t *from, uint64_t > wait); > * @return Number of events outputed (0 ... num) > */ > int odp_schedule_multi(odp_queue_t *from, uint64_t wait, odp_event_t > events[], > - unsigned int num); > + int num); > > /** > * Pause scheduling > diff --git a/platform/linux-generic/odp_schedule.c > b/platform/linux-generic/odp_schedule.c > index 999c800..3427082 100644 > --- a/platform/linux-generic/odp_schedule.c > +++ b/platform/linux-generic/odp_schedule.c > @@ -386,7 +386,7 @@ odp_event_t odp_schedule(odp_queue_t *out_queue, > uint64_t wait) > > > int odp_schedule_multi(odp_queue_t *out_queue, uint64_t wait, > - odp_event_t events[], unsigned int num) > + odp_event_t events[], int num) > { > return schedule_loop(out_queue, wait, events, num, MAX_DEQ); > } > -- > 1.9.1 > > > _______________________________________________ > lng-odp mailing list > [email protected] > http://lists.linaro.org/mailman/listinfo/lng-odp >
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
