title: MISRA C: 2004: typedefs that indicate size and signedness should be used in place of the basic types
body: <p>I have this MISRA C:2004 violation <code>typedefs that indicate size and signedness should be used in place of the basic types</code></p>
  
  <p>for example I have this piece of code, where I did not understand the right solution to avoid this violation</p>
  
  <pre><code>static int handlerCalled = 0;
  
  int llvm_test_diagnostic_handler(void) {
    LLVMContextRef C = LLVMGetGlobalContext();
    LLVMContextSetDiagnosticHandler(C, &amp;diagnosticHandler, &amp;handlerCalled);
  </code></pre>