From 2057216df8bebde043da31a43623988d4fd6a545 Mon Sep 17 00:00:00 2001 From: Hofmann Jonas Date: Thu, 13 Nov 2025 23:37:38 +0100 Subject: [PATCH] debugging --- imageInput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imageInput.c b/imageInput.c index 992c7c1..bb27f0b 100644 --- a/imageInput.c +++ b/imageInput.c @@ -10,7 +10,7 @@ // übersichtlich aufgeteilt werden! // 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); @@ -80,7 +80,7 @@ void clearSeries(GrayScaleImageSeries *series) // 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;