From 72158b74065becf9a79d4488894faa75daeb3d56 Mon Sep 17 00:00:00 2001 From: "Greg J. Badros" Date: Fri, 14 Jan 2000 17:35:13 +0000 Subject: [PATCH] * scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use def, not SCM_MAKINUM(def); thanks Janis Bzerins! --- libguile/scm_validate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libguile/scm_validate.h b/libguile/scm_validate.h index 6b41f158b..3a42d2b4f 100644 --- a/libguile/scm_validate.h +++ b/libguile/scm_validate.h @@ -1,4 +1,4 @@ -/* $Id: scm_validate.h,v 1.17 2000-01-12 01:51:18 gjb Exp $ */ +/* $Id: scm_validate.h,v 1.18 2000-01-14 17:35:13 gjb Exp $ */ /* Copyright (C) 1999 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify @@ -73,7 +73,7 @@ #define SCM_NUM2LONG(pos,arg) (scm_num2long(arg, (char *) pos, FUNC_NAME)) -#define SCM_NUM2LONG_DEF(pos,arg,def) (SCM_UNBNDP(arg)?SCM_MAKINUM(def):(scm_num2long(arg, (char *) pos, FUNC_NAME))) +#define SCM_NUM2LONG_DEF(pos,arg,def) (SCM_UNBNDP(arg)?def:(scm_num2long(arg, (char *) pos, FUNC_NAME))) #define SCM_NUM2LONG_LONG(pos,arg) (scm_num2long_long(arg, (char *) pos, FUNC_NAME))