diff options
author | Andrew Whittle <awhittle@ualberta.ca> | 2017-12-09 11:04:39 -0700 |
---|---|---|
committer | Andrew Whittle <awhittle@ualberta.ca> | 2017-12-09 11:04:39 -0700 |
commit | 41cf1e8b9140387a12f5acff39143b46725510e4 (patch) | |
tree | cfdda0457f0dae2ebe5c3ce03e950cc65888b1f0 | |
parent | 01d6723d5bd86a4070db35a046d41f2e37568579 (diff) | |
download | xmr-stak-41cf1e8b9140387a12f5acff39143b46725510e4.zip xmr-stak-41cf1e8b9140387a12f5acff39143b46725510e4.tar.gz |
Beautification edit as per fireice-uk's suggestion
Makes casting more explicit.
-rw-r--r-- | xmrstak/backend/nvidia/nvcc_code/cuda_core.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/nvidia/nvcc_code/cuda_core.cu b/xmrstak/backend/nvidia/nvcc_code/cuda_core.cu index 1167d65..15a6f36 100644 --- a/xmrstak/backend/nvidia/nvcc_code/cuda_core.cu +++ b/xmrstak/backend/nvidia/nvcc_code/cuda_core.cu @@ -19,7 +19,7 @@ extern "C" void compat_usleep(uint64_t waitTime) HANDLE timer; LARGE_INTEGER ft; - ft.QuadPart = -10*(LONGLONG)waitTime; // Convert to 100 nanosecond interval, negative value indicates relative time + ft.QuadPart = -10ll * int64_t(waitTime); // Convert to 100 nanosecond interval, negative value indicates relative time timer = CreateWaitableTimer(NULL, TRUE, NULL); SetWaitableTimer(timer, &ft, 0, NULL, NULL, 0); |