guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 04/04: Fix invalid use of 'PTR2SCM'.


From: Ludovic Courtès
Subject: [Guile-commits] 04/04: Fix invalid use of 'PTR2SCM'.
Date: Mon, 11 Jul 2016 09:57:40 +0000 (UTC)

civodul pushed a commit to branch stable-2.0
in repository guile.

commit a14e873cce0700cb0a84dd03632e542bd0223637
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jul 11 11:04:34 2016 +0200

    Fix invalid use of 'PTR2SCM'.
    
    Fixes a typo introduced in 04359b42b952ce1a09444e64d83dae9fb0a39da6.
    
    * libguile/load.c (try_load_thunk_from_file): Use 'SCM2PTR', not
    'PTR2SCM'.
---
 libguile/load.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libguile/load.c b/libguile/load.c
index f018181..c2ee509 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);
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]