]> git.sur5r.net Git - u-boot/commit
tiny-printf: Tidy up a few nits
authorSimon Glass <sjg@chromium.org>
Sat, 14 May 2016 20:02:52 +0000 (14:02 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 02:48:44 +0000 (20:48 -0600)
commit1fb67608b309bd7f49842fbdfb1dc2b18a250965
tree627c43b89177989306985f6045823f7da0e8e8db
parentd0375f3cc55ce740836f9ba6fe081ed0fdc19a3c
tiny-printf: Tidy up a few nits

- Rename 'w' to 'width' to make it more obvious what it is used for
- Use bool and int types instead of char to avoid register-masking on
32-bit machines

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
lib/tiny-printf.c