# HG changeset patch
# User ZyX <[email protected]>
# Date 1383994886 -14400
# Sat Nov 09 15:01:26 2013 +0400
# Branch NL-funcs
# Node ID c25ccecf79b681e79005bb0b8aed9153094ce207
# Parent 268983a1e62d0f05a1cb9658a65e4578128f7f2c
Add type cast
diff --git a/src/ops.c b/src/ops.c
--- a/src/ops.c
+++ b/src/ops.c
@@ -6417,7 +6417,7 @@
{
char_u *s;
if (strings[0] == NULL)
- s = "";
+ s = (char_u *) "";
else if (strings[1] != NULL)
{
EMSG(_("E881: search pattern and expression register may not "
--
--
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].
For more options, visit https://groups.google.com/groups/opt_out.
*** /tmp/extdiff.gll6g4/vim-small-patches.268983a1e62d/src/ops.c 2013-11-09 15:10:58.966126177 +0400
--- vim-small-patches.c25ccecf79b6/src/ops.c 2013-11-09 15:10:58.970126177 +0400
***************
*** 6417,6423 ****
{
char_u *s;
if (strings[0] == NULL)
! s = "";
else if (strings[1] != NULL)
{
EMSG(_("E881: search pattern and expression register may not "
--- 6417,6423 ----
{
char_u *s;
if (strings[0] == NULL)
! s = (char_u *) "";
else if (strings[1] != NULL)
{
EMSG(_("E881: search pattern and expression register may not "