1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

guile: fix crash in function hdata_move

This commit is contained in:
Sebastien Helleu
2013-04-20 11:04:17 +02:00
parent c95f3d84d0
commit fda70ec57d
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -4256,9 +4256,9 @@ weechat_guile_api_hdata_move (SCM hdata, SCM pointer, SCM count)
|| !scm_is_integer (count))
API_WRONG_ARGS(API_RETURN_EMPTY);
result = weechat_hdata_move (API_STR2PTR(API_SCM_TO_STRING(hdata)),
API_STR2PTR(API_SCM_TO_STRING(pointer)),
scm_to_int (count));
result = API_PTR2STR(weechat_hdata_move (API_STR2PTR(API_SCM_TO_STRING(hdata)),
API_STR2PTR(API_SCM_TO_STRING(pointer)),
scm_to_int (count)));
API_RETURN_STRING_FREE(result);
}