static void fmtint64(struct fmtbuf *out, int64_t value, int z, int base) { unsigned int a; if (value < 0) { fmtputc(out, '-'); a = -value; } else a = value; fmtuint64(out, a, z, base); }
static void fmtint64(struct fmtbuf *out, int64_t value, int s, int z, int w, int base) { uint64_t a; if (value < 0) { s = '-'; a = -value; } else if (s) { s = '+'; a = value; } else { s = 0; a = value; } fmtuint64(out, a, s, z, w, base); }