summaryrefslogtreecommitdiff
path: root/libguile/scm_validate.h
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>2000-01-14 17:35:13 +0000
committerGreg J. Badros <gjb@cs.washington.edu>2000-01-14 17:35:13 +0000
commit72158b74065becf9a79d4488894faa75daeb3d56 (patch)
treec47b21c65030322e732d852e0e61f44ca28d97c4 /libguile/scm_validate.h
parent5159424f525ebd92f84998f479fc77dc685dc5d1 (diff)
downloadguile-72158b74065becf9a79d4488894faa75daeb3d56.tar.gz
* scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
def, not SCM_MAKINUM(def); thanks Janis Bzerins!
Diffstat (limited to 'libguile/scm_validate.h')
-rw-r--r--libguile/scm_validate.h4
1 files 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))