# HG changeset patch # User vimboss # Date 1259149110 0 # Node ID b8ab4ba6b11018e468362bbadf077654f9cb4be3 # Parent 78e032bb32605c1437e30f7ec3215ad4c0772dd5 updated for version 7.2-304 diff --git a/src/ops.c b/src/ops.c --- a/src/ops.c +++ b/src/ops.c @@ -5597,7 +5597,10 @@ x11_export_final_selection() vc.vc_type = CONV_NONE; if (convert_setup(&vc, p_enc, (char_u *)"latin1") == OK) { - conv_str = string_convert(&vc, str, (int*)&len); + int intlen = len; + + conv_str = string_convert(&vc, str, &intlen); + len = intlen; if (conv_str != NULL) { vim_free(str); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 304, +/**/ 303, /**/ 302,