Branch: Tag:

2014-11-05

2014-11-05 17:03:41 by Martin Nilsson <nilsson@opera.com>

Address some warnings.

32:    apply_svalue((struct svalue *)f, 1);    if(TYPEOF(Pike_sp[-1])!=T_STRING)    Pike_error("Random function did not return string value.\n"); -  if(Pike_sp[-1].u.string->len != (unsigned int)num) +  if((unsigned)Pike_sp[-1].u.string->len != (unsigned)num)    Pike_error("Random function did not return correct number of bytes.\n");    memcpy(out, Pike_sp[-1].u.string->str, num);    pop_stack();