X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/97701d90b6977c5fb6b9a738cc1f152d80a422c9..cae23267c83ae53f31305d1e93353dcafd0e02c6:/src/gc/basic/gcx.d diff --git a/src/gc/basic/gcx.d b/src/gc/basic/gcx.d index 97a8b07..b913c36 100644 --- a/src/gc/basic/gcx.d +++ b/src/gc/basic/gcx.d @@ -1468,7 +1468,7 @@ struct Gcx void initialize() { int dummy; - (cast(byte*)this)[0 .. Gcx.sizeof] = 0; + (cast(byte*)&this)[0 .. Gcx.sizeof] = 0; stackBottom = cast(char*)&dummy; log_init(); debug (THREADINVARIANT)