static void gui_update_stats(char *name, unsigned long size, int percentage, time_t elapsed)
static void gui_update_stats(char *name, unsigned long size, int percentage, unsigned long elapsed)
static void gui_update_stats(char *name, unsigned long size, int percentage, time_t elapsed){    unsigned int i;    if (strcmp(name,statname) != 0)    {	for( i = 0; i < strlen(name); ++i )	    send_msg( (HWND)atoi(gui_hwnd), WM_STATS_CHAR, (WPARAM)name[i]);	send_msg( (HWND)atoi(gui_hwnd), WM_STATS_CHAR, (WPARAM)'\n' );	strcpy(statname,name);    }    if (statsize != size)    {	send_msg( (HWND)atoi(gui_hwnd), WM_STATS_SIZE, (WPARAM)size );	statsize = size;    }    if (statelapsed != elapsed)    {	send_msg( (HWND)atoi(gui_hwnd), WM_STATS_ELAPSED, (WPARAM)elapsed );	statelapsed = elapsed;    }    if (statperct != percentage)    {	send_msg( (HWND)atoi(gui_hwnd), WM_STATS_PERCENT, (WPARAM)percentage );	statperct = percentage;    }}