073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.431
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.431
073263
Problem:    Compiler warning.
073263
Solution:   Add type cast. (Mike Williams)
073263
Files:	    src/ex_docmd.c
073263
073263
073263
*** ../vim-7.4.430/src/ex_docmd.c	2014-08-23 14:16:11.884625637 +0200
073263
--- src/ex_docmd.c	2014-09-02 23:30:26.567267923 +0200
073263
***************
073263
*** 2155,2161 ****
073263
  	p = ea.cmd;
073263
  	while (ASCII_ISALNUM(*p))
073263
  	    ++p;
073263
! 	p = vim_strnsave(ea.cmd, p - ea.cmd);
073263
  	ret = apply_autocmds(EVENT_CMDUNDEFINED, p, p, TRUE, NULL);
073263
  	vim_free(p);
073263
  	if (ret && !aborting())
073263
--- 2155,2161 ----
073263
  	p = ea.cmd;
073263
  	while (ASCII_ISALNUM(*p))
073263
  	    ++p;
073263
! 	p = vim_strnsave(ea.cmd, (int)(p - ea.cmd));
073263
  	ret = apply_autocmds(EVENT_CMDUNDEFINED, p, p, TRUE, NULL);
073263
  	vim_free(p);
073263
  	if (ret && !aborting())
073263
*** ../vim-7.4.430/src/version.c	2014-08-30 18:10:15.106659776 +0200
073263
--- src/version.c	2014-09-09 12:21:42.312501370 +0200
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     431,
073263
  /**/
073263
073263
-- 
073263
hundred-and-one symptoms of being an internet addict:
073263
105. When someone asks you for your address, you tell them your URL.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///