From dbc9d9f9fab99721a0af2d18ba94bfccb20ebcc9 Mon Sep 17 00:00:00 2001 From: ShallowFeather <74778927+ShallowFeather@users.noreply.github.com> Date: Sat, 14 Sep 2024 13:30:36 +0800 Subject: [PATCH] Fix type (#1100) Fix the function type of security_cookie Co-authored-by: Romain Thomas <7450402+romainthomas@users.noreply.github.com> --- include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp b/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp index 53e6f390d..bc979d144 100644 --- a/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp +++ b/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp @@ -180,7 +180,7 @@ class LIEF_API LoadConfiguration : public Object { //! A pointer to a cookie that is used by Visual C++ or GS //! implementation. - uint32_t security_cookie() const { + uint64_t security_cookie() const { return security_cookie_; } @@ -257,7 +257,7 @@ class LIEF_API LoadConfiguration : public Object { editlist_ = editlist; } - void security_cookie(uint32_t security_cookie) { + void security_cookie(uint64_t security_cookie) { security_cookie_ = security_cookie; }