Fix sys_stat size integer overflow#1157
Fix sys_stat size integer overflow#1157barisyild wants to merge 4 commits intoHaxeFoundation:masterfrom
Conversation
|
CI failure is related: |
I think Apple is a bit more strict with the type casting, the compile problem was solved. |
|
Note that |
|
Can't we just always use the |
|
Probably a bug, because the same code works fine in my ci. |
|
Doesn't this require a change on the haxe side to work properly? Since the Changes like this should also probably be guarded with a |
Even if there is no api change on the Haxe side, it looks fine, because haxe int actually works with float double-precision. |
I tried and you are right, I think it needs a haxe api change. |
|
I just tried it and it doesn't work. FileStat.size just returns 0. |
This pull request fixes the file size integer overflow issue for sys_stat.