title: How do I #define an unsigned char* string?
body: <p>I have following define in my code</p>
  
  <pre><code>#define PRODUCTNAME     "SomeName"
  </code></pre>
  
  <p>and I want to send it with a function <code>com_reply(unsigned char* msg, uint16_t lenght)</code>.</p>
  
  <p>Now I get a warning that my argument differs in signedness. I know what the problem is and also why <code>com_reply</code> uses <code>unsigned char*</code> instead of <code>char*</code>, I just want to know:</p>
  
  <p>How can I define my string as an <code>unsigned char*</code> so I can use it throughout my program without getting warnings all over the place.</p>
  
  <p>EDIT:</p>
  
  <p>Strictly speaking I have more than one defines here and the main reason is that there is a <code>BANNER</code> define which consists of several other defines, like this:</p>
  
  <pre><code>#define PRODUCTNAME     "SomeName"
  #define PRODUCTDATE     "2013-03-30"
  #define BANNER          PRODUCTNAME " (" PRODUCTDATE ")"
  </code></pre>
  
  <p>Should I create const variables and concatenate them at program start instead of using defines here?</p>