浏览代码

somehow timespec tv_nsec had the wrong type on x86_64... fixed

Rich Felker 14 年之前
父节点
当前提交
3bb00f4579
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86_64/bits/alltypes.h.sh

+ 1 - 1
arch/x86_64/bits/alltypes.h.sh

@@ -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;