switch_mprintf -> asprintf
switch_mprintf -> asprintf ; And don't cast 64 bit time to 32... bad