diff --git a/std/cpp/_std/sys/io/File.hx b/std/cpp/_std/sys/io/File.hx index 926e9a4b346..78fdebd596f 100644 --- a/std/cpp/_std/sys/io/File.hx +++ b/std/cpp/_std/sys/io/File.hx @@ -31,7 +31,7 @@ class File { } public static function getBytes(path:String):haxe.io.Bytes { - var data = NativeFile.file_contents_bytes(path, pos, len); + var data = NativeFile.file_contents_bytes(path); return haxe.io.Bytes.ofData(data); }