Mercurial > vim
diff src/proto/os_win32.pro @ 29245:b12fd2b3be63 v8.2.5141
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Commit: https://github.com/vim/vim/commit/155f2d1451949d1124bfd6ba9c55be6bd74bab75
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 13:38:33 2022 +0100
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Problem: Using "volatile int" in a signal handler might be wrong.
Solution: Use "volatile sig_atomic_t".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Jun 2022 14:45:03 +0200 |
parents | 35a30cb18005 |
children | 983c16e2dfb7 |
line wrap: on
line diff
--- 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 : */