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