Skip to content

Commit

Permalink
Fix Protection [repr(C)] attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
isra17 committed Jul 3, 2016
1 parent dede23a commit 3eae40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unicorn_const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ pub enum Error {
HOOK_EXIST, // hook for this event already existed
}

#[repr(C)]
bitflags! {
#[repr(C)]
pub flags Protection : u32 {
const PROT_NONE = 0,
const PROT_READ = 1,
Expand Down

0 comments on commit 3eae40b

Please sign in to comment.