title: C - warning: assignment makes pointer from integer without a cast
body: <p>I have no clue why I am getting this warning when my variable and return value match. I have pasted below the variable, assignment of that variable to a function and the function itself (return value and all)</p>
  
  <pre><code>char * menuMsg;          /* used to print menu options */
  
  menuMsg = printMenu();
  
  char * printMenu()
  {   
      static char message[250] = "Select an option from below:\n";
      strcat(message, "(1) List all files on server\n");
      strcat(message, "(2) Retrieve file from server\n");
      strcat(message, "(3) Retrieve all files from server\n");
      strcat(message, "Enter your selection: ");
      return message;
  }
  </code></pre>
  
  <p>Any clues as to why i would be receiving this error? To me they all line up it terms of type declarations.</p>