title: Is there a way to make an enum unsigned in the C90 standard? (MISRA-C 2004 compliant)
body: <p>I'm trying to find a way to make an enum "unsigned".</p>
  
  <pre><code>enum{
       x1 = 0,
       x2,
       x3
  };
  uint8_t = x2; /* &lt;--- PC-LINT MISRA-C 2004 will complain about mixing signed and unsigned here */
  </code></pre>
  
  <p>Of course, I can add a typecast to get rid of the error, that is time consuming and error prone.</p>
  
  <pre><code>uint8_t = (uint8_t)x2; /* This works, but is a lot of extra work over the course of 1000s of lines of code*/
  </code></pre>
  
  <p>So, is there a way to make a specific enum unsigned that MISRA-C 2004 will like?</p>