diff options
Diffstat (limited to 'tests-clar/clar/sandbox.h')
| -rw-r--r-- | tests-clar/clar/sandbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/clar/sandbox.h b/tests-clar/clar/sandbox.h index 1ca6fcae8..5622bfab7 100644 --- a/tests-clar/clar/sandbox.h +++ b/tests-clar/clar/sandbox.h @@ -45,7 +45,7 @@ find_tmp_path(char *buffer, size_t length) #else DWORD env_len; - if ((env_len = GetEnvironmentVariable("CLAR_TMP", buffer, length)) > 0 && + if ((env_len = GetEnvironmentVariable("CLAR_TMP", buffer, (DWORD)length)) > 0 && env_len < length) return 0; |
