From 28b00896a8cb94663a3d35313ee7d771d4af11e0 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 14 Mar 2024 17:16:22 +0100 Subject: use cstdint types --- src/image.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/image.h') diff --git a/src/image.h b/src/image.h index a3831cb..7bfe5ec 100644 --- a/src/image.h +++ b/src/image.h @@ -8,11 +8,12 @@ #include #include #include +#include typedef struct t_ts_image { GLuint id; - int width; - int height; + uint32_t width; + uint32_t height; } ts_image; #elif defined(__linux__) || defined(__APPLE__) @@ -23,8 +24,8 @@ typedef struct t_ts_image { typedef struct t_ts_image { GLuint id; - int width; - int height; + uint32_t width; + uint32_t height; } ts_image; #endif -- cgit v1.2.3-70-g09d2