Danny Robson de48f75e96 format: fix transcription of zero values to strings
an iteration condition terminated the write when a value was zero rather
than when all numerals were written. instead, iterate over the remaining
numerals.

fixes printf("%zu", 0u)
2016-08-10 17:38:39 +10:00
..
2016-07-28 13:39:27 +10:00
2016-06-30 18:20:57 +10:00
2016-02-03 12:13:03 +11:00
2016-03-14 22:32:52 +11:00
2016-05-13 15:23:05 +10:00
2016-07-28 13:39:27 +10:00
2016-03-11 13:28:56 +11:00
2015-07-13 16:30:54 +10:00
2016-07-28 13:39:27 +10:00
2016-06-30 15:26:45 +10:00
2016-01-19 18:31:49 +11:00
2016-04-05 11:06:35 +10:00
2016-04-05 11:06:35 +10:00