From 313e29530528cfc181dcaf77a114d78fa9f097d0 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Mon, 16 Dec 2019 20:56:01 +0000 Subject: [PATCH] Change size_t to u32 (because the size is 4 bytes, not 8) --- nx/include/switch/services/set.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/services/set.h b/nx/include/switch/services/set.h index 259d27e6..f23bedd1 100644 --- a/nx/include/switch/services/set.h +++ b/nx/include/switch/services/set.h @@ -358,7 +358,7 @@ typedef struct { } SetCalRsa2048DeviceCertificate; typedef struct { - size_t size; ///< Size of the entire key. + u32 size; ///< Size of the entire key. u8 key[0x240]; } SetCalRsa2048DeviceKey; @@ -376,7 +376,7 @@ typedef struct { } SetCalSslCertificate; typedef struct { - size_t size; ///< Size of the entire key. + u32 size; ///< Size of the entire key. u8 key[0x130]; } SetCalSslKey;