diff --git a/09/suche/suche.c b/09/suche/suche.c index a6d1d89..7751b9f 100644 --- a/09/suche/suche.c +++ b/09/suche/suche.c @@ -8,7 +8,7 @@ int *binsucheZgr(int suchElem, int *startZgr, int *endZgr) // TODO } -int *binsuche(int suchElem, int array[], int anzahl) +int *binsuche(int suchElem, int array[], unsigned int anzahl) { return binsucheZgr(suchElem, array, array + anzahl - 1); } diff --git a/09/suche/suche.h b/09/suche/suche.h index 3a09283..2ef66da 100644 --- a/09/suche/suche.h +++ b/09/suche/suche.h @@ -1,6 +1,6 @@ #ifndef SUCHE_H #define SUCHE_H -int *binsuche(int suchElem, int array[], int anzahl); +int *binsuche(int suchElem, int array[], unsigned int anzahl); #endif \ No newline at end of file