Update plugins to cast time_t to long when formatting with %ld.

Fixes platforms where time_t and long are different sizes.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@474 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-11-16 10:59:34 +00:00
parent 87de292f53
commit 324cdd4c85
4 changed files with 22 additions and 13 deletions

View File

@@ -338,8 +338,8 @@ int toc_callback(int fd)
if (!strcasecmp(c,"UPDATE_BUDDY")) {
char *uc, *t;
int logged, evil, idle, type = 0;
time_t signon;
time_t time_idle;
long signon;
time_t time_idle;
numargs = 7;
args = (char **) malloc(sizeof(char *)*numargs);