Browse Source

[php] fix haxe.io.Output.writeBytes

Dan Korostelev 9 years ago
parent
commit
07b5ea2c4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/io/Output.hx

+ 1 - 1
std/haxe/io/Output.hx

@@ -65,7 +65,7 @@ class Output {
 			#if neko
 				writeByte(untyped __dollar__sget(b,pos));
 			#elseif php
-				writeByte(untyped __call__("ord", b[pos]));
+				writeByte(b.get(pos));
 			#elseif cpp
 				writeByte(untyped b[pos]);
 			#elseif hl