diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-03-25 09:17:50 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-03-25 09:17:50 +0000 |
commit | 133dd811b96ef442ba4270210f922f6195db17d0 (patch) | |
tree | ddaea23450c66181e5a062af10cef28427e8f470 /set_str_raw.c | |
parent | 6c1a3520f0b811439a7dae65ea5838b249231ca7 (diff) | |
download | mpfr-133dd811b96ef442ba4270210f922f6195db17d0.tar.gz |
char * -> const unsigned char * for mpfr_set_str, mpfr_set_str_raw,
and mpfr_init_set_str
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2277 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_str_raw.c')
-rw-r--r-- | set_str_raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/set_str_raw.c b/set_str_raw.c index b5a22dfe2..86c7b5e0f 100644 --- a/set_str_raw.c +++ b/set_str_raw.c @@ -1,6 +1,6 @@ /* mpfr_set_str_raw -- set a floating-point number from a binary string -Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of the MPFR Library. @@ -33,7 +33,7 @@ MA 02111-1307, USA. */ to hold all the bits of str. */ void -mpfr_set_str_raw (mpfr_ptr x, char *str) +mpfr_set_str_raw (mpfr_ptr x, __gmp_const unsigned char *str) { char *str2, *str0, negative = 0; unsigned long j, l, k = 0, xsize, cnt, alloc; mp_limb_t *xp; |