Branch: Tag:

2004-11-14

2004-11-14 13:03:09 by Martin Nilsson <mani@lysator.liu.se>

Fixed warning.

Rev: src/modules/Gmp/mpz_glue.c:1.164
Rev: src/modules/Image/encodings/xcf.c:1.52

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: mpz_glue.c,v 1.163 2004/10/07 22:49:56 nilsson Exp $ + || $Id: mpz_glue.c,v 1.164 2004/11/14 13:03:09 nilsson Exp $   */      #include "global.h"
1980:    push_int(mpz_size(THIS)*sizeof(mp_limb_t) + 4);    f_random_string(1);    if (sp[-1].type != T_STRING) { -  Pike_error("random_string(%d) returned non string.\n", +  Pike_error("random_string(%ld) returned non string.\n",    mpz_size(THIS)*sizeof(mp_limb_t) + 4);    }    get_mpz_from_digits(OBTOMPZ(res), sp[-1].u.string, 256);