somehow timespec tv_nsec had the wrong type on x86_64... fixed
authorRich Felker <dalias@aerifal.cx>
Sat, 2 Apr 2011 00:58:40 +0000 (20:58 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Apr 2011 00:58:40 +0000 (20:58 -0400)
arch/x86_64/bits/alltypes.h.sh

index b0aecd9c94c875c5eef4ae8a3395f2fc3624ee5a..d7ba25bb7ef1f55cc6627d5e58a4f5c25c75e7fa 100755 (executable)
@@ -71,7 +71,7 @@ TYPEDEF long time_t;
 TYPEDEF long useconds_t;
 TYPEDEF long suseconds_t;
 STRUCT timeval { time_t tv_sec; int tv_usec; };
-STRUCT timespec { time_t tv_sec; unsigned long tv_nsec; };
+STRUCT timespec { time_t tv_sec; long tv_nsec; };
 
 TYPEDEF int pid_t;
 TYPEDEF int id_t;