- Use `ptrdiff_t` in `wait(timeval*)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-29 18:33:39 +02:00
parent 486446cb6b
commit be76e09f12
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ public class Event
/* Write a single byte to it */
byte wakeByte = 69;
long status = write(pipeWriteEnd, &wakeByte, 1);
ptrdiff_t status = write(pipeWriteEnd, &wakeByte, 1);
version(unittest)
{
writeln("write status: ", status);