act_info.c: In function 'do_updatetime':act_info.c:5387: warning: passing argument 1 of 'send_to_char' makes pointer from integer without a cast
void do_updatetime( CHAR_DATA *ch, char *argument){ char buf[MAX_STRING_LENGTH]; bool found = FALSE; time_t time; send_to_char("\tW——————————————————————————\tn\n\r", ch ); sprintf(buf, "\tYLast code update:\tn "); if( file_time( "../src/project", &time ) < 0 ) { if( file_time( "../src/project.exe", &time ) < 0 ) found = FALSE; } else found = TRUE; if(found) strcat(buf, ctime(&time)); else strcat(buf, "\tRWARNING:\tn Unable to determine update time.\n\r"); send_to_char(buf, ch); send_to_char("\tGEngine: ", ch); send_to_char(PT_ENGINE, ch); send_to_char("\tn\n\r", ch); send_to_char("\tYVersion: ", ch); send_to_char(mudVersion, ch); send_to_char("\tn\n\r", ch); send_to_char("\tW——————————————————————————\tn\n\r", ch);}
#ifndef __Version_H#define __Version_h#define mudVersion 11#endif
#define mudVersion "11"
I'm getting this error message and not sure why.
Here is the code and here is the include file as well…
What am I missing?