summaryrefslogtreecommitdiff
path: root/libguile-ssh
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-12-06 10:00:52 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-12-06 10:00:52 +0300
commite6aade2b1d44d1a2e400a0b4b63624935865d48e (patch)
treee80a1b188c8db75707ddfa6a71284744bc7b9441 /libguile-ssh
parentlibguile-ssh/channel-type.c: Bugfix: Fix assertion (diff)
downloadguile-ssh-e6aade2b1d44d1a2e400a0b4b63624935865d48e.tar.gz
libguile-ssh/channel-type.c (init_channel_type): Use 'scm_from_long'
Diffstat (limited to 'libguile-ssh')
-rw-r--r--libguile-ssh/channel-type.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile-ssh/channel-type.c b/libguile-ssh/channel-type.c
index bac197e..323e0d6 100644
--- a/libguile-ssh/channel-type.c
+++ b/libguile-ssh/channel-type.c
@@ -331,8 +331,8 @@ init_channel_type (void)
scm_set_port_print (channel_tag, print_channel);
scm_set_port_equalp (channel_tag, equalp_channel);
- scm_c_define ("RDNG", scm_from_int (SCM_RDNG));
- scm_c_define ("WRTNG", scm_from_int (SCM_WRTNG));
+ scm_c_define ("RDNG", scm_from_long (SCM_RDNG));
+ scm_c_define ("WRTNG", scm_from_long (SCM_WRTNG));
#include "channel-type.x"
}