Skip to content

Commit

Permalink
Remove unneeded(?) casts which are causing warnings/tcc errors.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@2836 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
Josh Wilmes committed Dec 17, 2002
1 parent cf7682c commit 734bd4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/nci.pmc
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ pmclass NCI {

PMC* clone () {
PMC *ret = pmc_new(INTERP, enum_class_NCI);
ret->cache.struct_val = (DPOINTER *)
(Parrot_csub_t)D2FPTR(SELF->cache.struct_val);
ret->cache.struct_val = SELF->cache.struct_val;
/* FIXME if data is malloced (JIT/i386!) then we need
* the length of data here, to memcpy it
* ManagedStruct or Buffer?
Expand Down

0 comments on commit 734bd4f

Please sign in to comment.