Mercurial > projects > dwt2
diff base/src/java/lang/Thread.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | 8ae65ae167f5 |
children | 536e43f63c81 |
line wrap: on
line diff
--- a/base/src/java/lang/Thread.d Sat Nov 13 14:15:51 2010 +0100 +++ b/base/src/java/lang/Thread.d Wed Mar 16 21:53:53 2011 +0900 @@ -56,11 +56,11 @@ public this(Runnable runnable, String name){ thread = new TThread(&internalRun); this.runnable = runnable; - thread.name = cast(char[])name; + thread.name = name; } public this(String name){ thread = new TThread(&internalRun); - thread.name = cast(char[])name; + thread.name = name; } public void start(){ @@ -133,7 +133,7 @@ } public void setName(String name){ - thread.name = cast(char[])name; + thread.name = name; } public String getName(){ return cast(String)thread.name;