Quote:
|
warning: ..... 'strncpy' makes pointer from integer without a cast
|
strncpy() takes two strings and an int as its parameters, you can see that in its man page:
"char *strncpy(char *dest, const char *src, size_t n);"
Maybe you have an int as the first or second parameter?
Are you trying to copy/convert a number into a string. If so, check out sprintf() instead if strncpy().