Skip to content

Commit

Permalink
Fix type (#1100)
Browse files Browse the repository at this point in the history
Fix the function type of security_cookie

Co-authored-by: Romain Thomas <7450402+romainthomas@users.noreply.github.com>
  • Loading branch information
ShallowFeather and romainthomas committed Sep 14, 2024
1 parent bf931df commit dbc9d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit dbc9d9f

Please sign in to comment.