summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-07-11 11:04:34 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-11 11:04:34 +0200
commita14e873cce0700cb0a84dd03632e542bd0223637 (patch)
tree6c3dc216be7b71f00edeafb9d7b97ce70da9134f
parent2c5ab455c26a6386c781f62b6d732c9b29919111 (diff)
downloadguile-a14e873cce0700cb0a84dd03632e542bd0223637.tar.gz
Fix invalid use of 'PTR2SCM'.
Fixes a typo introduced in 04359b42b952ce1a09444e64d83dae9fb0a39da6. * libguile/load.c (try_load_thunk_from_file): Use 'SCM2PTR', not 'PTR2SCM'.
-rw-r--r--libguile/load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/load.c b/libguile/load.c
index f01818114..c2ee5093a 100644
--- a/libguile/load.c
+++ b/libguile/load.c
@@ -1,5 +1,5 @@
/* Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2004, 2006, 2008,
- * 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
+ * 2009, 2010, 2011, 2012, 2013, 2014, 2016 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -618,9 +618,9 @@ try_load_thunk_from_file (SCM filename)
{
return scm_c_catch (SCM_BOOL_T,
do_load_thunk_from_file,
- PTR2SCM (filename),
+ SCM2PTR (filename),
load_thunk_from_file_catch_handler,
- PTR2SCM (filename),
+ SCM2PTR (filename),
NULL, NULL);
}