updated for version 7.3.1176
Problem: Compiler warnings on 64 bit system.
Solution: Add type casts. (Mike Williams)
diff --git a/src/eval.c b/src/eval.c
index 4e4bbc0..18512a9 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -10980,7 +10980,8 @@
* also work, but some plugins depend on the name being printable
* text. */
sprintf(sid_buf, "<SNR>%ld_", (long)current_SID);
- rettv->vval.v_string = alloc(STRLEN(sid_buf) + STRLEN(s + 2) + 1);
+ rettv->vval.v_string =
+ alloc((int)(STRLEN(sid_buf) + STRLEN(s + 2) + 1));
if (rettv->vval.v_string != NULL)
{
STRCPY(rettv->vval.v_string, sid_buf);