to3dig did not give a return value

This commit is contained in:
ceriel 1987-03-09 12:47:23 +00:00
parent c094aebd80
commit 8fc79aa735

View file

@ -262,4 +262,5 @@ to3dig(i)
*s++ = (i % 100) / 10 + '0'; *s++ = (i % 100) / 10 + '0';
*s++ = (i % 10) + '0'; *s++ = (i % 10) + '0';
*s = '\0'; *s = '\0';
return buf;
} }