pike.git / src / string_builder.c

version» Context lines:

pike.git/src/string_builder.c:460:    return i;   }      PMOD_EXPORT void string_builder_append_integer(struct string_builder *s,    INT64 val,    unsigned int base,    int flags,    size_t min_width,    size_t precision)   { -  unsigned INT64 tmp; +  UINT64 tmp;    size_t len = 1;    const char *numbers = "0123456789abcdef";    if ((base < 2) || (base > 16)) {    Pike_fatal("string_builder_append_int(): Unsupported base %u.\n", base);    }    if (flags & APPEND_UPPER_CASE) {    numbers = "0123456789ABCDEF";    }    if ((flags & APPEND_SIGNED) && (val < 0)) {    string_builder_putchar(s, '-');