From a68cc52b5c5d1c104de8d675b90816aaa39f4ace Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 9 Aug 2022 00:35:47 +0300 Subject: nearly works --- src/ppm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ppm.h') diff --git a/src/ppm.h b/src/ppm.h index b68e77c..8ef66cc 100644 --- a/src/ppm.h +++ b/src/ppm.h @@ -1,9 +1,9 @@ #ifndef PPM_H #define PPM_H -void save_as_ppm(char* file_path, int *t, int width, int height); +void save_as_ppm(char* file_path, int *t, size_t width, size_t height); -int *load_from_ppm(char *file_path, int *width, int *height); +int *load_from_ppm(char *file_path, size_t *width, size_t *height); void free_ppm(int *img); -- cgit v1.2.3