new Linux user
hello,
i am new Linux user.i got some warning message when compiling my program. the warning is :
1. <warning: comparison between pointer and integer >
if (((b ? rn->r : rn->l) == pt_new(MIN_KEY_BIT - 1, NULL, NULL, c)) == NULL).
2. <warning: implicit declaration of function ‘time’ >
char *get_time()
{
int i;
time_t t;
static char buf[26];
t = time((time_t *)NULL);(******* IN HERE****)
strcpy(buf, ctime(&t));
please give me feedback.
|