2
0
Brucey 8 жил өмнө
parent
commit
76618914b0
1 өөрчлөгдсөн 2 нэмэгдсэн , 4 устгасан
  1. 2 4
      stdc.mod/stdc.c

+ 2 - 4
stdc.mod/stdc.c

@@ -483,10 +483,8 @@ int getpeername_( int socket,void *addr,int *len ){
 	return getpeername( socket,addr,len );
 }
 
-void time_( void *ttime ){
-	time( (time_t*)ttime );
-time_t time_( void *ttime ){
-	return time( (time_t*)ttime );
+int time_( void *ttime ){
+	return (int)time( (time_t*)ttime );
 }
 
 void *localtime_( void *ttime ){