Constify xdigs argument to __u[lj]toa. Cast u_long and u_quad_t to
commit8990f8120127d1bef15b3884d5ba27a6a8b703e7
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 1 Aug 2005 22:50:45 +0000 (1 22:50 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 1 Aug 2005 22:50:45 +0000 (1 22:50 +0000)
treebf9e862b0f4e9dd806074354956aaf02df9ec47d
parent5e1c9d41e7218741634bce48fa30b7360e9d0d97
Constify xdigs argument to __u[lj]toa. Cast u_long and u_quad_t to
size_t before using them as index. Rename MAXEXP to MAXEXPDIG. Rename
exp to expo to avoid shadowing.

Inspired-by: FreeBSD
lib/libc/stdio/vfprintf.c