X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/97701d90b6977c5fb6b9a738cc1f152d80a422c9..ee20c715e3f0be23c1732938dc222d436464c254:/src/gc/basic/gcx.d?ds=sidebyside 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)