cast da time_t a long
git-svn-id: svn://10.65.10.50/branches/R_10_00@23030 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
083b4b84f8
commit
7b9633eac8
@ -98,7 +98,7 @@ int memo4fileCreate( MEMO4FILE *m4file, CODE4 *c4, DATA4FILE *d4, const char *na
|
||||
time( &t ) ;
|
||||
t %= 10000L ;
|
||||
|
||||
c4ltoa45( t, buf + 4, -4 ) ;
|
||||
c4ltoa45( (long)t, buf + 4, -4 ) ;
|
||||
strcpy( buf + 8, ".TMP" ) ;
|
||||
rc = file4create( &m4file->file, c4, buf, 1 ) ;
|
||||
if ( rc <= 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user