Skip to content

Commit

Permalink
Fix clone v-table method of NCI PMC so that flags are retained.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@19551 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
jnthn committed Jul 3, 2007
1 parent 27c8a1a commit 4ea363c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmc/nci.pmc
Expand Up @@ -120,7 +120,7 @@ Creates and returns a clone of the NCI.
* ManagedStruct or Buffer? * ManagedStruct or Buffer?
*/ */
PMC_data(ret) = PMC_data(SELF); PMC_data(ret) = PMC_data(SELF);
PObj_get_FLAGS(ret) |= (PObj_get_FLAGS(SELF) & 0x3); PObj_get_FLAGS(ret) |= (PObj_get_FLAGS(SELF) & 0x7);
return ret; return ret;
} }


Expand Down

0 comments on commit 4ea363c

Please sign in to comment.