Mercurial > vim
diff src/ops.c @ 2007:b8ab4ba6b110 v7.2.304
updated for version 7.2-304
author | vimboss |
---|---|
date | Wed, 25 Nov 2009 11:38:30 +0000 |
parents | 91fff9db214e |
children | 85da03763130 |
line wrap: on
line diff
--- 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);