From b7ca49497802e9f82ad0d5871c8685bcf31dd22c Mon Sep 17 00:00:00 2001 From: Susko3 Date: Mon, 23 Jun 2025 22:15:01 +0200 Subject: [PATCH] Fix underlying enum types --- SDL3_image-CS/SDL3_image/SDL_image.cs | 2 +- SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SDL3_image-CS/SDL3_image/SDL_image.cs b/SDL3_image-CS/SDL3_image/SDL_image.cs index 275bf23..806ba13 100644 --- a/SDL3_image-CS/SDL3_image/SDL_image.cs +++ b/SDL3_image-CS/SDL3_image/SDL_image.cs @@ -7,7 +7,7 @@ namespace SDL { [Flags] [Typedef] - public enum IMG_InitFlags : int + public enum IMG_InitFlags : UInt32 { IMG_INIT_JPG = SDL3_image.IMG_INIT_JPG, IMG_INIT_PNG = SDL3_image.IMG_INIT_PNG, diff --git a/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs b/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs index c1a9b08..fdec2f3 100644 --- a/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs +++ b/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs @@ -7,7 +7,7 @@ namespace SDL { [Flags] [Typedef] - public enum TTF_SubStringFlags : int + public enum TTF_SubStringFlags : UInt32 { TTF_SUBSTRING_TEXT_START = SDL3_ttf.TTF_SUBSTRING_TEXT_START, TTF_SUBSTRING_LINE_START = SDL3_ttf.TTF_SUBSTRING_LINE_START,