Fixed get_time_str definition to match the prototype.
This commit is contained in:
parent
ac3ac35f41
commit
14e70340e2
|
@ -79,7 +79,7 @@ void dump_data( const unsigned char *ptr, unsigned int size, const char *prefix
|
||||||
printf( "\n" );
|
printf( "\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* get_time_str(DWORD _t)
|
const char* get_time_str(unsigned long _t)
|
||||||
{
|
{
|
||||||
time_t t = (time_t)_t;
|
time_t t = (time_t)_t;
|
||||||
const char *str = ctime(&t);
|
const char *str = ctime(&t);
|
||||||
|
|
Loading…
Reference in New Issue