diff options
author | Andy Wingo <wingo@pobox.com> | 2010-11-18 22:31:34 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-11-19 15:22:43 +0100 |
commit | d2aed81f7cb8b703b000962a1b9dddc8de91212e (patch) | |
tree | dd313c0e7de6284b91d1209dafd0a7fd2b1dcbcf | |
parent | 3d27ef4bd312750f8edca81f09644eab21a3d8e0 (diff) | |
download | guile-d2aed81f7cb8b703b000962a1b9dddc8de91212e.tar.gz |
simpos tweak
* libguile/simpos.c (scm_system_star): Use scm_from_ulong, as we do cast
to ulong.
-rw-r--r-- | libguile/simpos.c | 4 |
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); |