Branch: Tag:

2016-04-08

2016-04-08 19:48:49 by Martin Nilsson <nilsson@fastmail.com>

Removed PTRDIFF_T_TO_LONG

3784:    dump_program_tables(p, 0);    Pike_fatal("Variable %s offset is not properly aligned (%ld).\n",    p->identifiers[e].name->str, -  PTRDIFF_T_TO_LONG(p->identifiers[e].func.offset)); +  (long)p->identifiers[e].func.offset);    }    }    } else {
4249: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if(alignment <=0 || (alignment & (alignment-1)) || alignment > 256)    Pike_fatal("Alignment must be 1,2,4,8,16,32,64,128 or 256 not %ld\n", -  PTRDIFF_T_TO_LONG(alignment)); +  (long)alignment);   #endif    modulo=( modulo_orig /* +OFFSETOF(object,storage) */ ) % alignment;