From 9864eb4d0adaaff881c9b5ad87b787945a8ac221 Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Thu, 19 Jun 2008 12:23:51 +0000 Subject: [PATCH] Change suseconds_t to long as it is in most of systems. Fixes a lot of printf related warnings everywhere. Noticed-by: swildner@ --- sys/sys/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/types.h b/sys/sys/types.h index 6d6c5e146e..476b82399a 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -37,7 +37,7 @@ * * @(#)types.h 8.6 (Berkeley) 2/19/95 * $FreeBSD: src/sys/sys/types.h,v 1.40.2.2 2001/04/21 14:53:06 ume Exp $ - * $DragonFly: src/sys/sys/types.h,v 1.22 2008/06/18 09:36:07 hasso Exp $ + * $DragonFly: src/sys/sys/types.h,v 1.23 2008/06/19 12:23:51 hasso Exp $ */ #ifndef _SYS_TYPES_H_ @@ -105,7 +105,7 @@ typedef quad_t rlim_t; /* resource limit */ typedef __int32_t segsz_t; /* segment size */ typedef __int32_t swblk_t; /* swap offset */ typedef __uint32_t uid_t; /* user id */ -typedef __int32_t suseconds_t; /* microseconds (signed) */ +typedef long suseconds_t; /* microseconds (signed) */ typedef __uint32_t useconds_t; /* microseconds (unsigned) */ #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES) -- 2.11.4.GIT