Use unsigned.

This commit is contained in:
paulusja committed 2026-06-18 09:43:11 +02:00
1 parent 67ae1ba1ca
commit 556c08db20
2 files changed
+2 -2

No files matched your search

+1 -1
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);
}
+1 -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