Nicolas Cannasse 14 years ago
parent
commit
c880be1ba1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/neko/db/Types.hx

+ 2 - 2
std/neko/db/Types.hx

@@ -64,7 +64,7 @@ extern class SFlags<T> {
 	public inline static function ofInt<T>( i : Int ) : SFlags<T> {
 		return cast i;
 	}
-	public inline static function toInt( s : SFlags<Dynamic> ) : Int {
-		return cast s;
+	public inline function toInt() : Int {
+		return cast this;
 	}
 }