X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/d3409d5ecf2492cff862616de72a580d1a8e8dc0..f41f820e4b3e230d9314cc4323abf59babdd4e67:/mptext-dstr.c diff --git a/mptext-dstr.c b/mptext-dstr.c index df473f9..112be2e 100644 --- a/mptext-dstr.c +++ b/mptext-dstr.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mptext-dstr.c,v 1.1 1999/11/17 18:02:16 mdw Exp $ + * $Id: mptext-dstr.c,v 1.2 1999/12/22 15:56:21 mdw Exp $ * * Reading and writing large integers on strings * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: mptext-dstr.c,v $ + * Revision 1.2 1999/12/22 15:56:21 mdw + * Make the buffer passed to `put' op constant. + * * Revision 1.1 1999/11/17 18:02:16 mdw * New multiprecision integer arithmetic suite. * @@ -61,7 +64,7 @@ static void unget(int ch, void *p) c->i--; } -static int put(char *s, size_t sz, void *p) +static int put(const char *s, size_t sz, void *p) { mptext_dstrctx *c = p; DPUTM(c->d, s, sz);