summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-21 22:37:39 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-21 22:37:39 +0000
commitd857f0e0f419ffcc8a17d2724d5f3fa62da590a7 (patch)
tree0a5a35fc6d2861e18bc87f4a91652198a7a6e60b /src/os_win32.c
parent3f7704760770fb4382f61b27ae7762365db5c70a (diff)
downloadvim-git-d857f0e0f419ffcc8a17d2724d5f3fa62da590a7.tar.gz
updated for version 7.0089v7.0089
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 82a3ce0f9..3184e2eb8 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -1325,6 +1325,7 @@ tgetch(int *pmodifiers, char_u *pch2)
* If time == -1, wait forever for characters.
* Returns the number of characters read into buf.
*/
+/*ARGSUSED*/
int
mch_inchar(
char_u *buf,
@@ -4190,6 +4191,7 @@ mch_breakcheck(void)
* How much memory is available?
* Return sum of available physical and page file memory.
*/
+/*ARGSUSED*/
long_u
mch_avail_mem(int special)
{
@@ -4867,7 +4869,7 @@ myresetstkoflw(void)
/*
* The command line arguments in UCS2
*/
-static DWORD nArgsW = 0;
+static int nArgsW = 0;
static LPWSTR *ArglistW = NULL;
static int global_argc = 0;
static char **global_argv;
@@ -4994,7 +4996,7 @@ fix_arg_enc(void)
* - the file name arguments must have been located.
* - the length of the argument list wasn't changed by the user.
*/
- if (global_argc != (int)nArgsW
+ if (global_argc != nArgsW
|| ArglistW == NULL
|| used_file_indexes == NULL
|| used_file_count == 0