diff options
| author | 2025-03-15 20:02:43 -0400 | |
|---|---|---|
| committer | 2025-03-15 20:02:43 -0400 | |
| commit | b4e45dd89e6dd53d8cb940e5609b812e19ade913 (patch) | |
| tree | c633916f4e67323402b05e94e61febc69cb2c3f9 /src/util/thread | |
| parent | ce102493f377d0452e44c3a4bb6e6e15ab0c819d (diff) | |
| download | libnaunet-b4e45dd89e6dd53d8cb940e5609b812e19ade913.tar.gz libnaunet-b4e45dd89e6dd53d8cb940e5609b812e19ade913.tar.bz2 libnaunet-b4e45dd89e6dd53d8cb940e5609b812e19ade913.zip | |
64-bit stdio file, no retry in multiplex id read
- Some cleanup.
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/util/thread')
| -rw-r--r-- | src/util/thread/thread_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/thread/thread_windows.c b/src/util/thread/thread_windows.c index ca9be80..f1f1dd7 100644 --- a/src/util/thread/thread_windows.c +++ b/src/util/thread/thread_windows.c @@ -4,7 +4,7 @@ NTSTATUS(__stdcall *NtDelayExecution)(BOOL Alertable, PLARGE_INTEGER DelayInterv void nn_thread_sleep(nn_os_tstamp delay) { - NtDelayExecution(false, &((LARGE_INTEGER){ .QuadPart = -(s64)(delay * 1e7L) })); + NtDelayExecution(false, &((LARGE_INTEGER){ .QuadPart = -(LONGLONG)(delay * 1E7L) })); } void nn_thread_create(struct nn_thread *thread, nn_thread_func func, void *userdata) |