Patch 9.0.1194 (after 9.0.1192)
Problem: Compiler warning for comparing pointer with int.
Solution: Change NULL to zero.
Files: src/vim9class.c
*** ../vim-9.0.1193/src/vim9class.c 2023-01-13 17:36:44.311699799 +0000
--- src/vim9class.c 2023-01-13 19:16:46.821834051 +0000
***************
*** 717,723 ****
{
// For a "new()" function "this.member" arguments are
// OK. TODO: check for the "this." prefix.
! if (STRNCMP(uf->uf_name, "new", 3) == NULL && il == 2)
continue;
garray_T *mgap = il == 1 ? &classmembers : &objmembers;
for (int mi = 0; mi < mgap->ga_len; ++mi)
--- 717,723 ----
{
// For a "new()" function "this.member" arguments are
// OK. TODO: check for the "this." prefix.
! if (STRNCMP(uf->uf_name, "new", 3) == 0 && il == 2)
continue;
garray_T *mgap = il == 1 ? &classmembers : &objmembers;
for (int mi = 0; mi < mgap->ga_len; ++mi)
*** ../vim-9.0.1193/src/version.c 2023-01-13 18:46:53.426481325 +0000
--- src/version.c 2023-01-13 19:18:08.029805466 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1194,
/**/
--
hundred-and-one symptoms of being an internet addict:
2. You kiss your girlfriend's home page.
/// 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/20230113191907.401381C0916%40moolenaar.net.