Use unsigned.
This commit is contained in:
parent
67ae1ba1ca
commit
556c08db20
@ -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);
|
||||
}
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user