Bühler Theo wrote: > > It seems apparent that they never go negative. All instances are used to > > manipulate strlen() values. > > > > ok? > > the first hunk is fine with me. I don't understand the second one: > why only convert w? Aren't all three ints guaranteed to be unsigned there?
The short answer is that I'm using a Coccinelle script that finds ints assigned strlen() return values. I then also convert other size-representing variables that are used arithmetically with them. The slightly longer answer is that I'm being conservative, and that I only want to convert vars that logically represent sizes. I'll look back at the second hunk, though.