Blame SOURCES/7.4.431

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