title: CLion recommends to use 'strtol' instead of 'scanf'
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main(int argc, char** argv) {
      int num = 0;
  
      printf("Input: ");
      scanf("%d", &amp;num); &lt;&lt;&lt;
  
      printf("%d\n", num);
  
      return 0;
  }
  </code></pre>
  
  <p><strong>scanf("%d", &amp;num);</strong></p>
  
  <p><em>Clang-Tidy: 'scanf' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead</em></p>
  
  <hr>
  
  <p>I wrote a very simple code with CLion and it recommends me 'strtol' instead of 'scanf'.</p>
  
  <p>But I'm using only integer variable and there is no strings. I can't figure out why the inspection message pops up.</p>
  
  <p>How do I modify this code?</p>