title: comparison between signed and unsigned integer expressions [-Wsign-compare] warning
body: <pre><code>for ( i= 0; i &lt; sizeof(r)/sizeof(r[0]); ++i ){ 
          r[i]= 0; 
  }
  </code></pre>
  
  <p>So this is the for loop I'm having troubles with, how can I rewrite it so I don't get the warning:</p>
  
  <pre><code>comparison between signed and unsigned integer expressions [-Wsign-compare]
  </code></pre>