well i spoke to soon! same warning message!!! then when i compile i get a segmenation fault here's my exact code.

#include <stdio.h>
#include <string.h>

int main(void)
{
char userInput[50];

printf("\nPrompt >> ");
fgets(userInput, 50, stdin);

printf("%c", userInput[0]);
printf("\n");

return 0;
}