New round of magicnum vs. sizeof(staticbuf) cleanups
Use size_t as variable type for storage of sizeof(staticbuf)
Merge pull request #498 from LebedevRI/sizeof-cleanup

Sizeof cleanup