summaryrefslogtreecommitdiff
path: root/libguile/simpos.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2010-11-18 22:31:34 +0100
committerAndy Wingo <wingo@pobox.com>2010-11-19 15:22:43 +0100
commitd2aed81f7cb8b703b000962a1b9dddc8de91212e (patch)
treedd313c0e7de6284b91d1209dafd0a7fd2b1dcbcf /libguile/simpos.c
parent3d27ef4bd312750f8edca81f09644eab21a3d8e0 (diff)
downloadguile-d2aed81f7cb8b703b000962a1b9dddc8de91212e.tar.gz
simpos tweak
* libguile/simpos.c (scm_system_star): Use scm_from_ulong, as we do cast to ulong.
Diffstat (limited to 'libguile/simpos.c')
-rw-r--r--libguile/simpos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/simpos.c b/libguile/simpos.c
index 41af23378..84b8b9d67 100644
--- a/libguile/simpos.c
+++ b/libguile/simpos.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2004, 2009 Free Software
+/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003, 2004, 2009, 2010 Free Software
* Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
@@ -127,7 +127,7 @@ SCM_DEFINE (scm_system_star, "system*", 0, 0, 1,
execargv = scm_i_allocate_string_pointers (args);
/* make sure the child can't kill us (as per normal system call) */
- sig_ign = scm_from_long ((unsigned long) SIG_IGN);
+ sig_ign = scm_from_ulong ((unsigned long) SIG_IGN);
sigint = scm_from_int (SIGINT);
sigquit = scm_from_int (SIGQUIT);
oldint = scm_sigaction (sigint, sig_ign, SCM_UNDEFINED);