Use unsigned.

This commit is contained in:
Jan Paulus 2026-06-18 09:43:11 +02:00
parent 67ae1ba1ca
commit 556c08db20
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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