|
Karsten Hopp |
c12169 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
c12169 |
Subject: Patch 7.2.304
|
|
Karsten Hopp |
c12169 |
Fcc: outbox
|
|
Karsten Hopp |
c12169 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c12169 |
Mime-Version: 1.0
|
|
Karsten Hopp |
c12169 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
c12169 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c12169 |
------------
|
|
Karsten Hopp |
c12169 |
|
|
Karsten Hopp |
c12169 |
Patch 7.2.304
|
|
Karsten Hopp |
c12169 |
Problem: Compiler warning for bad pointer cast.
|
|
Karsten Hopp |
c12169 |
Solution: Use another variable for int pointer.
|
|
Karsten Hopp |
c12169 |
Files: src/ops.c
|
|
Karsten Hopp |
c12169 |
|
|
Karsten Hopp |
c12169 |
|
|
Karsten Hopp |
c12169 |
*** ../vim-7.2.303/src/ops.c 2009-11-17 12:43:19.000000000 +0100
|
|
Karsten Hopp |
c12169 |
--- src/ops.c 2009-11-18 15:40:26.000000000 +0100
|
|
Karsten Hopp |
c12169 |
***************
|
|
Karsten Hopp |
c12169 |
*** 5597,5603 ****
|
|
Karsten Hopp |
c12169 |
vc.vc_type = CONV_NONE;
|
|
Karsten Hopp |
c12169 |
if (convert_setup(&vc, p_enc, (char_u *)"latin1") == OK)
|
|
Karsten Hopp |
c12169 |
{
|
|
Karsten Hopp |
c12169 |
! conv_str = string_convert(&vc, str, (int*)&len;;
|
|
Karsten Hopp |
c12169 |
if (conv_str != NULL)
|
|
Karsten Hopp |
c12169 |
{
|
|
Karsten Hopp |
c12169 |
vim_free(str);
|
|
Karsten Hopp |
c12169 |
--- 5597,5606 ----
|
|
Karsten Hopp |
c12169 |
vc.vc_type = CONV_NONE;
|
|
Karsten Hopp |
c12169 |
if (convert_setup(&vc, p_enc, (char_u *)"latin1") == OK)
|
|
Karsten Hopp |
c12169 |
{
|
|
Karsten Hopp |
c12169 |
! int intlen = len;
|
|
Karsten Hopp |
c12169 |
!
|
|
Karsten Hopp |
c12169 |
! conv_str = string_convert(&vc, str, &intlen);
|
|
Karsten Hopp |
c12169 |
! len = intlen;
|
|
Karsten Hopp |
c12169 |
if (conv_str != NULL)
|
|
Karsten Hopp |
c12169 |
{
|
|
Karsten Hopp |
c12169 |
vim_free(str);
|
|
Karsten Hopp |
c12169 |
*** ../vim-7.2.303/src/version.c 2009-11-18 20:12:15.000000000 +0100
|
|
Karsten Hopp |
c12169 |
--- src/version.c 2009-11-25 12:37:36.000000000 +0100
|
|
Karsten Hopp |
c12169 |
***************
|
|
Karsten Hopp |
c12169 |
*** 683,684 ****
|
|
Karsten Hopp |
c12169 |
--- 683,686 ----
|
|
Karsten Hopp |
c12169 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c12169 |
+ /**/
|
|
Karsten Hopp |
c12169 |
+ 304,
|
|
Karsten Hopp |
c12169 |
/**/
|
|
Karsten Hopp |
c12169 |
|
|
Karsten Hopp |
c12169 |
--
|
|
Karsten Hopp |
c12169 |
I recommend ordering large cargo containers of paper towels to make up
|
|
Karsten Hopp |
c12169 |
whatever budget underruns you have. Paper products are always useful and they
|
|
Karsten Hopp |
c12169 |
have the advantage of being completely flushable if you need to make room in
|
|
Karsten Hopp |
c12169 |
the storage area later.
|
|
Karsten Hopp |
c12169 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
c12169 |
|
|
Karsten Hopp |
c12169 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c12169 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c12169 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
c12169 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|