summaryrefslogtreecommitdiff
path: root/libguile/numbers.h
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-04-10 07:57:05 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-04-10 07:57:05 +0000
commite4b265d817c6758441bbfc66730cae98eabde9b5 (patch)
tree401f2628ddf4bcab2a6c72023daba0c8b0aa03eb /libguile/numbers.h
parent40f83c3e1b5cb1d440f785d857981417c5fa6f85 (diff)
downloadguile-e4b265d817c6758441bbfc66730cae98eabde9b5.tar.gz
* Avoid redundant casting of argument numbers to char* and vice versa.
Diffstat (limited to 'libguile/numbers.h')
-rw-r--r--libguile/numbers.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libguile/numbers.h b/libguile/numbers.h
index 076768e33..c8e00b480 100644
--- a/libguile/numbers.h
+++ b/libguile/numbers.h
@@ -2,7 +2,7 @@
#ifndef NUMBERSH
#define NUMBERSH
-/* Copyright (C) 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998,2000,2001 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -290,15 +290,16 @@ extern SCM scm_dbl2big (double d);
extern double scm_big2dbl (SCM b);
extern SCM scm_long2num (long sl);
extern SCM scm_ulong2num (unsigned long sl);
-extern long scm_num2long (SCM num, char *pos, const char *s_caller);
+extern long scm_num2long (SCM num, unsigned long int pos,
+ const char *s_caller);
#ifdef HAVE_LONG_LONGS
extern SCM scm_long_long2num (long_long sl);
-extern long_long scm_num2long_long (SCM num, char *pos,
+extern long_long scm_num2long_long (SCM num, unsigned long int pos,
const char *s_caller);
-extern ulong_long scm_num2ulong_long (SCM num, char *pos,
+extern ulong_long scm_num2ulong_long (SCM num, unsigned long int pos,
const char *s_caller);
#endif
-extern unsigned long scm_num2ulong (SCM num, char *pos,
+extern unsigned long scm_num2ulong (SCM num, unsigned long int pos,
const char *s_caller);
extern void scm_init_numbers (void);