(scm_dynthrow): Use >= instead of SCM_PTR_GE which
authorKevin Ryde <user42@zip.com.au>
Fri, 30 Apr 2004 23:34:01 +0000 (23:34 +0000)
committerKevin Ryde <user42@zip.com.au>
Fri, 30 Apr 2004 23:34:01 +0000 (23:34 +0000)
is now gone.  Reported by Andreas Vögele.

libguile/continuations.c

index 60322b3..c638662 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1998,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998,2000,2001,2004 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
@@ -266,7 +266,7 @@ scm_dynthrow (SCM cont, SCM val)
   SCM_STACKITEM stack_top_element;
 
 #if SCM_STACK_GROWS_UP
-  if (SCM_PTR_GE (dst + continuation->num_stack_items, &stack_top_element))
+  if (dst + continuation->num_stack_items >= &stack_top_element)
     grow_stack (cont, val);
 #else
   dst -= continuation->num_stack_items;