sprintf(fst, "\n\r%d %d %d", ("aA" < "aB"), ("Aa" > "aB"), ("A" < b"));
if('a' > 'b')
if ( !str_cmp( arg, "test" ) )
{
time_t time_n;
char fst[MAX_STRING_LENGTH];
char sst[MAX_STRING_LENGTH];
time_n = current_time + (60*60*24*180);
act(AT_BLUE, "$t", ch, ctime(&time_n), NULL, TO_CHAR);
strcpy(fst, ctime(&time_n));
strcpy(sst, fst + 11);
sst[8] = '\0';
send_to_char(AT_BLUE,sst,ch);
sprintf(fst, "\n\r%d %d %d", ("aA" < "aB"), ("Aa" > "aB"), ("A" < "b"));
send_to_char(AT_BLUE,fst,ch);
return;
}
change.c:522: warning: comparison with string literal results in unspecified behaviour
change.c:522: warning: comparison with string literal results in unspecified behaviour
change.c:522: warning: comparison with string literal results in unspecified behaviour
time_t time_n;
char fst[MAX_STRING_LENGTH];
char sst[MAX_STRING_LENGTH];
time_n = current_time + (60*60*24*180);
act(AT_BLUE, "$t", ch, ctime(&time_n), NULL, TO_CHAR);
strcpy(fst, ctime(&time_n));
strcpy(sst, fst + 11);
sst[8] = '\0';
send_to_char(AT_BLUE,sst,ch);
(522)—> sprintf(fst, "\n\r%d %d %d", ("aA" < "aB"), ("Aa" > "aB"), ("A" < b"));
send_to_char(AT_BLUE,fst,ch);
return;
}
if ( !str_cmp( arg, "list" ) )
{
char arg1[MAX_STRING_LENGTH];
char arg2[MAX_STRING_LENGTH];
int fn = 0;
int ln = 0;
Please help. Sorry if this seems novice.