The attached patch avoids compiler warnings for different pointer signedness
that
shows up when compiling with MODIFIED_BY set (which I suppose Bram doesn't do,
so
doesn't notice it!).
Grins,
Ben.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
Index: src/version.c
===================================================================
--- src/version.c (revision 728)
+++ src/version.c (working copy)
@@ -1553,9 +1553,9 @@
if (*mesg == ' ')
{
- vim_strncpy(modby, _("Modified by "), MODBY_LEN - 1);
+ vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1);
l = STRLEN(modby);
- vim_strncpy(modby + l, MODIFIED_BY, MODBY_LEN - l - 1);
+ vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1);
mesg = modby;
}
#endif