jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.431

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