]> git.llucax.com Git - software/druntime.git/blobdiff - src/gc/basic/gcx.d
Allow building directly using 'make'
[software/druntime.git] / src / gc / basic / gcx.d
index 97a8b0741b016afb22d65735f3cf495ad8900d3d..b913c36c7510a1cb71efe5857f0f51b320f93e25 100644 (file)
@@ -1468,7 +1468,7 @@ struct Gcx
     void initialize()
     {   int dummy;
 
     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)
         stackBottom = cast(char*)&dummy;
         log_init();
         debug (THREADINVARIANT)