diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2022-06-18 16:48:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-18 16:48:36 +0100 |
commit | 09f68a5e7817cbb40854ee6b8ae3db21d5365346 (patch) | |
tree | a59c32d01569efa54ef7ab411b2af92cc3b5823f /src/os_win32.c | |
parent | 620aa8eb5b1468d086253f8aa787a33a86033100 (diff) | |
download | vim-git-09f68a5e7817cbb40854ee6b8ae3db21d5365346.tar.gz |
patch 8.2.5125: MS-Windows: warnings from MinGW compilerv8.2.5125
Problem: MS-Windows: warnings from MinGW compyler.
Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
variable.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index da48bfd61..1adaaedce 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -8378,7 +8378,7 @@ stop_timeout(void) * This function is not expected to fail, but if it does it still returns a * valid flag pointer; the flag will remain stuck at zero. */ - const int * + volatile int * start_timeout(long msec) { BOOL ret; |