projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
70a91f7
)
cast
Yuval Kogman [Thu, 21 Aug 2008 10:03:59 +0000 (10:03 +0000)]
Moose.xs
patch
|
blob
|
blame
|
history
diff --git
a/Moose.xs
b/Moose.xs
index
d1495bc
..
2d730fa
100644
(file)
--- a/
Moose.xs
+++ b/
Moose.xs
@@
-966,7
+966,7
@@
STATIC SV *deinitialize_slot(pTHX_ SV *self, ATTR *attr) {
}
STATIC SV *create_instance(pTHX_ MI *mi) {
- return sv_bless(sv_2mortal(newRV_noinc(newHV())), mi->stash);
+ return sv_bless(sv_2mortal(newRV_noinc((SV *)newHV())), mi->stash);
}