title: Convert volatile int to int8_t for output
body: <p>I am working with existing code and am trying to not butcher the code that outputs text on a touchscreen display. The text is defined as <code>int8_t</code> and will not allow me to combine text with integer. I am doing this on a TI launchpad MSP432 with booster pack K350QVG. I have done multiple searches on this site and Google but can't get code to work that others have suggested and would like some help and explanation please.</p>
  
  <p>Some code I am working with:</p>
  
  <pre><code>Graphics_drawStringCentered(&amp;g_sContext, "Draw Rectangles",
                              AUTO_STRING_LENGTH, 159, 15, TRANSPARENT_TEXT);
  </code></pre>
  
  <p>The "Draw Rectangles" I would like to change to "Value equals: " + Value</p>
  
  <pre><code>void  Graphics_drawStringCentered(const Graphics_Context *context,
      int8_t *string, int32_t  length, int32_t  x, int32_t  y,
      bool  opaque)
  {
  Graphics_drawString(context, string, length,
          (x) - (Graphics_getStringWidth(context, string, length) / 2),
          (y) - (context-&gt;font-&gt;baseline / 2), opaque);
  }
  </code></pre>
  
  <p>When I try to add it, I get this error</p>
  
  <ul>
  <li><code>#</code>169-D argument of type "<code>char *</code>" is incompatible with parameter of type "<code>int8_t *</code>"*</li>
  </ul>
  
  <p>I have tried several methods of converting an <code>int</code> to <code>int8_t</code> but have not found anything that works. Can you please help suggest what to try and I will post my results.</p>