diff --git a/Startcode/imageInput.c b/Startcode/imageInput.c index 0918919..bfbf895 100644 --- a/Startcode/imageInput.c +++ b/Startcode/imageInput.c @@ -96,7 +96,7 @@ GrayScaleImageSeries *pictureSeriesmemory(unsigned short numImagesShort) { int PicturesLabelsimport(GrayScaleImageSeries *series, FILE *file, unsigned short widthShort, unsigned short heightShort){ unsigned int pixelsPerImage = (unsigned int)widthShort * heightShort; - for (unsigned int i = 0; i < series->count; i++;) { + for (unsigned int i = 0; i < series->count; i++) { series->images[i].width = (unsigned int)widthShort; series->images[i].height=(unsigned int)heightShort; series->images[i].buffer = (GrayScalePixelType *)malloc(pixelsPerImage * sizeof(GrayScalePixelType));