Change Variant bool conversion to uint8_t

This ensures more portable conversion since not every path assume bool
is 32-bits and there's no loss converting to 8-bits anyway.
This commit is contained in:
George Marques 2021-07-27 09:00:56 -03:00
parent 0f7b7bcbce
commit 84c37423fb
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ typedef void *GDNativeObjectPtr;
typedef void *GDNativeTypePtr;
typedef void *GDNativeMethodBindPtr;
typedef int64_t GDNativeInt;
typedef uint32_t GDNativeBool;
typedef uint8_t GDNativeBool;
typedef uint64_t GDObjectInstanceID;
/* VARIANT DATA I/O */