"Rose via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > From: Seija Kijin <doremylover123@xxxxxxxxx> > > There are many places where "int len = strlen(foo);" is written, > just for len to be passed as a parameter of size_t. True. > This causes truncation and then expansion > back from int to size_t. > > Not to mention, this is poor logic, > and needless truncations can add > extra unneeded instructions. I'd omit the last paragraph if I were writing it, as these two paragraphs saying exactly the same thing.