debugging

This commit is contained in:
Jonas Hofmann 2025-11-13 23:37:38 +01:00
parent f152305c4f
commit 2057216df8

View File

@ -10,7 +10,7 @@
// übersichtlich aufgeteilt werden! // übersichtlich aufgeteilt werden!
// TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei // TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei
int readStatusInfo(FILE **source, char *const headerString, int *const imageCount, int *const imageWidth, int *const imageHeight, int const amountToRead); int readStatusInfo(FILE **source, char *const headerString, unsigned int *const imageCount, int *const imageWidth, int *const imageHeight, int const amountToRead);
void readImagedata(FILE **source, char *const imageBuffer, char *const labelBuffer,int const imageCount ,int const amountToRead); void readImagedata(FILE **source, char *const imageBuffer, char *const labelBuffer,int const imageCount ,int const amountToRead);
@ -80,7 +80,7 @@ void clearSeries(GrayScaleImageSeries *series)
// reads string, pictureCount, pictureWidth, pictureHight // reads string, pictureCount, pictureWidth, pictureHight
int readStatusInfo(FILE **source, char *const headerString, int *const imageCount, int *const imageWidth, int *const imageHeight, int const amountToRead) int readStatusInfo(FILE **source, char *const headerString, unsigned int *const imageCount, int *const imageWidth, int *const imageHeight, int const amountToRead)
{ {
int bytesToRead = 0; int bytesToRead = 0;