TRACEME(("immortal undef"));
PUTMARK(SX_SV_UNDEF);
} else {
- TRACEME(("undef at 0x%x", sv));
+ TRACEME(("undef at 0x%"UVxf, PTR2UV(sv)));
PUTMARK(SX_UNDEF);
}
return 0;
* Watch for number being an integer in disguise.
*/
if (nv == (NV) (iv = I_V(nv))) {
- TRACEME(("double %"NVff" is actually integer %ld", nv, iv));
+ TRACEME(("double %"NVff" is actually integer %"IVdf,
+ nv, iv));
goto integer; /* Share code below */
}
WRITE(&iv, sizeof(iv));
}
- TRACEME(("ok (integer 0x%"UVxf", value = %d)",
+ TRACEME(("ok (integer 0x%"UVxf", value = %"IVdf")",
PTR2UV(sv), iv));
} else
*/
TRACEME(("(#%d) value 0x%"UVxf,
- PTR2UV(val)));
+ i, PTR2UV(val)));
if (ret = store(cxt, val))
goto out;
* If we recursed, the SX_HOOK has already been emitted.
*/
- TRACEME(("SX_HOOK (recursed=%d) flags=0x%x class=%d len=%d len2=%d len3=%d",
+ TRACEME(("SX_HOOK (recursed=%d) flags=0x%x class=%"IVdf" len=%"IVdf" len2=%"IVdf" len3=%"IVdf,
recursed, flags, classnum, len, len2, count-1));
/* SX_HOOK <flags> */
len = strlen(buf);
STORE_SCALAR(buf, len);
- TRACEME(("ok (dummy \"%s\", length = %d)", buf, len));
+ TRACEME(("ok (dummy \"%s\", length = %"IVdf")", buf, len));
return 0;
}
TRACEME(("ok (magic_write byteorder = 0x%lx [%d], I%d L%d P%d)",
(unsigned long) BYTEORDER, (int) c,
- sizeof(int), sizeof(long), sizeof(char *)));
+ (int) sizeof(int), (int) sizeof(long), (int) sizeof(char *)));
return 0;
}
* the object itself being already created by the runtime.
*/
- TRACEME(("calling STORABLE_thaw on %s at 0x%"UVxf" (%d args)",
+ TRACEME(("calling STORABLE_thaw on %s at 0x%"UVxf" (%"IVdf" args)",
class, PTR2UV(sv), AvFILLp(av) + 1));
rv = newRV(sv);
SV *sv;
RLEN(len);
- TRACEME(("retrieve_lscalar (#%d), len = %d", cxt->tagnum, len));
+ TRACEME(("retrieve_lscalar (#%d), len = %"IVdf, cxt->tagnum, len));
/*
* Allocate an empty scalar of the suitable length.
(void) SvPOK_only(sv); /* Validate string pointer */
SvTAINT(sv); /* External data cannot be trusted */
- TRACEME(("large scalar len %d '%s'", len, SvPVX(sv)));
+ TRACEME(("large scalar len %"IVdf" '%s'", len, SvPVX(sv)));
TRACEME(("ok (retrieve_lscalar at 0x%"UVxf")", PTR2UV(sv)));
return sv;
sv = newSViv(iv);
SEEN(sv); /* Associate this new scalar with tag "tagnum" */
- TRACEME(("integer %d", iv));
+ TRACEME(("integer %"IVdf, iv));
TRACEME(("ok (retrieve_integer at 0x%"UVxf")", PTR2UV(sv)));
return sv;