On Thursday, 9 October 2025 at 09:27:09 UTC, Kagamin wrote:
```
if (cast(long)e.lpCompletionKey < 0) {
        fiber = fileWaiters[cast(int)-cast(long)e.lpCompletionKey];
}
```
Heh, if you didn't assume LP64, this would be another unsigned integer bug.

This just checks if lpCompletionKey is in fact negative integer. Overflow would happen if we manage to open 2^31 files.


Reply via email to