Skip to content

Bug of pointer's memory occupied  #6

Description

@lanyeeee

the bug will appear if you choose to compile with x64 instead x86
image
image
because 1 pointer take 4 bytes in x86, take 8 bytes in x64

So if I want to compile with x64, I have to do like this way
image
"unsigned long long" take 8 bytes,same as the pointer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions