size = XFASTINT (slots) + 1;
p = allocate_record (size);
if (p == NULL)
- error ("Attempt to allocate a record of %ld slots; max is %d",
+ error ("Attempt to allocate a record of %"pD"d slots; max is %d",
size, (1 << PSEUDOVECTOR_SIZE_BITS) - 1);
p->contents[0] = type;
{
struct Lisp_Vector *p = allocate_record (nargs);
if (p == NULL)
- error ("Attempt to allocate a record of %ld slots; max is %d",
+ error ("Attempt to allocate a record of %"pD"d slots; max is %d",
nargs, (1 << PSEUDOVECTOR_SIZE_BITS) - 1);
Lisp_Object type = args[0];
ptrdiff_t size = ASIZE (record) & PSEUDOVECTOR_SIZE_MASK;
struct Lisp_Vector *new = allocate_record (size);
if (new == NULL)
- error ("Attempt to allocate a record of %ld slots; max is %d",
+ error ("Attempt to allocate a record of %"pD"d slots; max is %d",
size, (1 << PSEUDOVECTOR_SIZE_BITS) - 1);
memcpy (&(new->contents[0]), &(src->contents[0]),