Skip to content

question about calloc size #7

Description

@NearTox

what is the purpose of the memory allocation with the next syntax?

mblocks = (LevMatchingBlock*)malloc(nmb*sizeof(LevOpCode));

I think that the sizeof must be LevMatchingBlock and not LevOpCode

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