I'm trying to make a programm that encrypts a string with crypt() using a key and then displays the result.

Here's what I have so far:

#include <unistd.h>
#include <stdio.h>
#include <string.h>
int main( int argc, char *argv[])
{
char text[] = "text";
char key[] = "key";
char result[14];
strcpy( crypt( text, key), result);
printf("%s", result);
return 1;
}

Now when I try to compile it I get this with (under linux)
gcc crypt.c -o crypt -lcrypt
I get this warning:

warning: passing arg 1 of `strcpy' makes pointer from integer without a cast

What am I doing wrong here?