diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-20 13:38:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-20 13:38:33 +0100 |
commit | 155f2d1451949d1124bfd6ba9c55be6bd74bab75 (patch) | |
tree | b62202254ef079aafcf30eaa01baf694d3f9b0a6 /src/proto/os_win32.pro | |
parent | 73171ba4344e17484699d11c65d57fb1f4de572a (diff) |
patch 8.2.5141: using "volatile int" in a signal handler might be wrongv8.2.5141
Problem: Using "volatile int" in a signal handler might be wrong.
Solution: Use "volatile sig_atomic_t".
Diffstat (limited to 'src/proto/os_win32.pro')
-rw-r--r-- | src/proto/os_win32.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/os_win32.pro b/src/proto/os_win32.pro index dd2c27e85e..66335601ed 100644 --- a/src/proto/os_win32.pro +++ b/src/proto/os_win32.pro @@ -85,5 +85,5 @@ int get_conpty_fix_type(void); void resize_console_buf(void); char *GetWin32Error(void); void stop_timeout(void); -volatile int *start_timeout(long msec); +volatile sig_atomic_t *start_timeout(long msec); /* vim: set ft=c : */ |