Skip to content

Commit

Permalink
fix root/rmem.d to follow issue 14401 fix in druntime.
Browse files Browse the repository at this point in the history
  • Loading branch information
9rnsr committed Apr 8, 2015
1 parent 9a61591 commit 94f725f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/root/rmem.d
Expand Up @@ -171,7 +171,7 @@ else
extern (C) Object _d_newclass(const ClassInfo ci)
{
auto p = allocmemory(ci.init.length);
(cast(byte*)p)[0 .. ci.init.length] = ci.init[];
p[0 .. ci.init.length] = cast(void[])ci.init[];
return cast(Object)p;
}

Expand Down

0 comments on commit 94f725f

Please sign in to comment.