But it was suspicious. Seeing<p><pre><code>  1 * sizeof(int)
</code></pre>
directly in the code, not in a macro expansion, in my book is somewhat suspicious (people could do that for symmetry in a series of similar lines of code), but<p><pre><code>  whatever_count + x * sizeof(int)
</code></pre>
could easily trigger a heuristic &quot;thou shalt not add a count and a size&quot;<p>The code does not even need to be smart enough to determine that &quot;whatever_count&quot; is used as a count; if it actually is a size, it is worth warning about, too, so a somewhat vague warning would, in my book, be fine.