Hugh Sanderson пре 13 година
родитељ
комит
ab6cbcc944
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      std/cpp/vm/Thread.hx

+ 2 - 2
std/cpp/vm/Thread.hx

@@ -65,8 +65,8 @@ class Thread {
 		return untyped __global__.__hxcpp_thread_read_message(block);
 	}
 
-	function __compare(t) {
-		return untyped handle == t.handle;
+	function __compare(t) : Int {
+		return handle == t.handle ? 0 : 1;
 	}
 
 }