Patch 9.0.0635 (after 9.0.0634)
Problem:    Build error and compiler warnings.
Solution:   Add missing change.  Add type casts.
Files:      src/if_cscope.c, src/indent.c


*** ../vim-9.0.0634/src/if_cscope.c     2022-09-25 17:03:22.916362780 +0100
--- src/if_cscope.c     2022-10-01 20:15:50.720777608 +0100
***************
*** 961,972 ****
  #endif
        if (csinfo[i].ppath != NULL)
        {
!           len = STRLEN(cmd);
            vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath);
        }
        if (csinfo[i].flags != NULL)
        {
!           len = STRLEN(cmd);
            vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags);
        }
  # ifdef UNIX
--- 961,972 ----
  #endif
        if (csinfo[i].ppath != NULL)
        {
!           len = (int)STRLEN(cmd);
            vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath);
        }
        if (csinfo[i].flags != NULL)
        {
!           len = (int)STRLEN(cmd);
            vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags);
        }
  # ifdef UNIX
*** ../vim-9.0.0634/src/indent.c        2022-09-14 16:09:53.344308323 +0100
--- src/indent.c        2022-10-01 19:22:28.712180921 +0100
***************
*** 1906,1912 ****
      inde_copy = vim_strsave(curbuf->b_p_inde);
      if (inde_copy != NULL)
      {
!       indent = (int)eval_to_number(inde_copy);
        vim_free(inde_copy);
      }
  
--- 1906,1912 ----
      inde_copy = vim_strsave(curbuf->b_p_inde);
      if (inde_copy != NULL)
      {
!       indent = (int)eval_to_number(inde_copy, TRUE);
        vim_free(inde_copy);
      }
  
*** ../vim-9.0.0634/src/version.c       2022-10-01 19:43:48.610494062 +0100
--- src/version.c       2022-10-01 20:17:00.092367606 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     635,
  /**/

-- 
"Women marry men hoping they will change. Men marry women hoping
they will not. So each is inevitably disappointed."
 - Einstein

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221001191746.1CE951C065C%40moolenaar.net.

Raspunde prin e-mail lui